class MarkPool;
class Server;
+class UDPStream;
struct ClientStats;
+struct sockaddr_in6;
// Provides services such as load-balancing between a number of Server instances.
class ServerPool {
void set_header(int stream_index,
const std::string &http_header,
const std::string &stream_header);
- void add_data(int stream_index, const char *data, size_t bytes);
+ void add_data(int stream_index, const char *data, size_t bytes, StreamStartSuitability suitable_for_stream_start);
// Connects the given stream to the given mark pool for all the servers.
void set_mark_pool(int stream_index, MarkPool *mark_pool);