gatzka / cio

An ANSI C Conformant I/O Library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cio_httpserver unit test

gatzka opened this issue · comments

  • Ensure correct keepalive handling if no handler for an URL was found and a correct request comes afterwards. So the test should receive a request with header and body which should be answered with 404. The client is not closed now. Then a second request comes in which should be answered with 200.

  • response_written within the context of on_message_complete (write succeeds immediately)

  • response_written comes after on_message_complete (write was blocked in socket write)