mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
Introduce struct mg_flash::{read_fn,init_fn}
This commit is contained in:
1 parent
9ac1106e74
commit
57e30ab2e9
18 files changed
+438
-293
No files matched your search
+1
-1
@@ -3334,7 +3334,7 @@ static void test_http_stream_errors(void) {
|
||||
ASSERT(state.ends == 1);
|
||||
if (c.is_client) {
|
||||
ASSERT(c.send.len == 0);
|
||||
ASSERT(c.is_closing == (cases[i].code != 200));
|
||||
ASSERT(c.is_closing == (unsigned) (cases[i].code != 200));
|
||||
} else {
|
||||
ASSERT(mg_http_parse((char *) c.send.buf, c.send.len, &hm) > 0);
|
||||
ASSERT(mg_http_status(&hm) == cases[i].code);
|
||||
|
||||
Reference in new issue
Block a user