diff --git a/net/http_headers.cpp b/net/http_headers.cpp index a5f544c05d..0fdf628d3f 100644 --- a/net/http_headers.cpp +++ b/net/http_headers.cpp @@ -1,11 +1,5 @@ #include "net/http_headers.h" -#ifdef _WIN32 - -#include // for timeval - -#endif - #include #include @@ -132,11 +126,6 @@ int RequestHeader::ParseHttpHeader(const char *buffer) { } void RequestHeader::ParseHeaders(int fd) { - // Get the request, with a timeout. - struct ::timeval tv; - tv.tv_sec = 5; - tv.tv_usec = 0; - int line_count = 0; // Loop through request headers. while (true) {