ソースを参照

Run RequestWithoutContentLengthOrTransferEncoding on Windows too

The test was kept off Windows while reading the body of such a request
waited on the socket and could hang there. That wait was made
non-blocking soon after, and such a request no longer has its body
read at all, so nothing in it is specific to the platform any more.
yhirose 5 日 前
親
コミット
64b5c68a46
1 ファイル変更、0 行追加、2 行削除
  1. 0 2
      test/test.cc

+ 0 - 2
test/test.cc

@@ -23052,7 +23052,6 @@ TEST(ServerRequestParsingTest, BytesAfterUnframedRequestAreNotItsBody) {
   EXPECT_EQ("HTTP/1.1 200 OK", resp.substr(0, resp.find("\r\n")));
 }
 
-#ifndef _WIN32
 TEST(ServerRequestParsingTest, RequestWithoutContentLengthOrTransferEncoding) {
   Server svr;
 
@@ -23122,7 +23121,6 @@ TEST(ServerRequestParsingTest, RequestWithoutContentLengthOrTransferEncoding) {
                            &resp));
   EXPECT_TRUE(resp.find("HTTP/1.1 200 OK") == 0);
 }
-#endif
 
 //==============================================================================
 // open_stream() Tests