libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit bc616b31c7ccbeedb8eeaa2248ff3fc0b4264ddf
parent 64c6b9904a3c9f3c42d93aa4917ce50c3f7e941b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  4 Sep 2016 10:47:22 +0000

update manual

Diffstat:
Mdoc/libmicrohttpd.texi | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi @@ -109,9 +109,12 @@ example, using the @code{MHD_create_response_from_fd_at_offset} call to serve ranges from a file). MHD does understands headers that control connection management (specifically, @code{Connection: close} and @code{Expect: 100 continue} are understood and handled -automatically). @code{Connection: upgrade} is not yet supported. +automatically). @code{Connection: upgrade} is supported by passing +control over the socket (or something that behaves like the real +socket in the case of TLS) to the application (after sending the +desired HTTP response header). -MHD also largely ignores the semantics of the different HTTP methods, +MHD largely ignores the semantics of the different HTTP methods, so clients are left to handle those. One exception is that MHD does understand @code{HEAD} and will only send the headers of the response and not the body, even if the client supplied a body. (In fact, @@ -2169,8 +2172,6 @@ Set of actions to be performed on upgraded connections. Passed as an argument t @item MHD_UPGRADE_ACTION_CLOSE Closes the connection. Must be called once the application is done with the client. Takes no additional arguments. -@item MHD_UPGRADE_ACTION_CORK -Uncork the TCP write buffer. Not implemented. Takes no additional arguments. @end table @end deftp