mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Uncommented unit test in test_should_keep_alive()
This commit is contained in:
1 parent
9771d184f2
commit
2e3e1ba7cd
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ static void test_should_keep_alive(void) {
|
|||||||
assert(should_keep_alive(&conn) == 1);
|
assert(should_keep_alive(&conn) == 1);
|
||||||
|
|
||||||
conn.request_info.status_code = 401;
|
conn.request_info.status_code = 401;
|
||||||
//assert(should_keep_alive(&conn) == 0);
|
assert(should_keep_alive(&conn) == 0);
|
||||||
|
|
||||||
conn.request_info.status_code = 200;
|
conn.request_info.status_code = 200;
|
||||||
conn.must_close = 1;
|
conn.must_close = 1;
|
||||||
|
|||||||
Reference in new issue
Block a user