10 #include "BidirectionalWebIOBus.h"
11 #include "WebMessages.h"
12 #include "WebIOConfig.h"
46 void IssueWebLoadRequests();
48 void SendFallBackToCacheMessage(
const TWebRequestId requestId);
49 void CheckMultiInfo();
60 static int CurlSocketCallbackWrapper(CURL* easy, curl_socket_t s,
int action,
void* userp,
void* socketp);
61 int CurlSocketCallBack(CURL* easy, curl_socket_t s,
int action,
void* socketp);
63 static int CurlTimeoutCallbackWrapper(CURLM* multi,
long timeout_ms,
void* userp);
64 int CurlTimeoutCallback(CURLM* multi,
long timeout_ms);
68 static void UVCallbackPollWrapper(uv_poll_t* req,
int status,
int events);
69 void UVCallbackPoll(
AppCurlContext* pAppCurlContext,
int status,
int events);
72 static void UVCallbackTimeoutWrapper(uv_timer_t* handle);
73 void UVCallbackTimeout(uv_timer_t* handle);
76 int m_threadSleepDurationMilliseconds;
79 CURLM * m_curlMultiHandle;
81 std::vector<WebRequestHandle*> m_inFlightWebRequestHandles;
82 std::list<InFlightWebRequest*> m_pendingWebRequests;
85 bool m_webLoadPoolExhaustedLastFrame;
96 bool m_continueRunning;