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.
This commit is contained in:
yhirose committed 2026-10-22 09:32:29 -04:00
1 parent 1c91d54b7c
commit 64b5c68a46
1 file changed
-2
-2
View File
@@ -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