3cda61e4ccaa1192528776d315f7ed5534315cb0 |
|
17-Feb-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: server: Perform output stream error handling in one place. |
e4b70fb422bf53ddf017948de26b5ea5a1a262fb |
|
17-Feb-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: server: Handle output stream errors in a separate function. |
a5886aec87fbfd767a110e6168ce96411acfe798 |
|
24-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: server: Allow determining at any time whether the connection will be closed after handling a request.
Previously, this was only possible during response submission, which potentially requires making a `close' parameter available for any API function that submits a (failure) response.
This would become very ugly and inflexible. |
38af46387e565053adf6c47f7f6871676d685de8 |
|
04-Jul-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: server: Implemented API for handling the incoming request payload in the background.
It allows forwarding the incoming payload to an output stream (e.g. iostream-temp) or to a buffer.
The maximum size of the payload is configurable. The client will get a 413 error if the maximum is exceeded. |
dc05b1fb4b7a2b4d91248078311458cb4cbad9a1 |
|
04-Jul-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: server: Explicitly record the number of references held for a request by the application from within the callback. |
9ec9b6f85c8fbe67bfac523a5e3d33d34f72dddc |
|
04-Jul-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: server: Changed http_server_request_is_complete() from an inline to a normal function. |
5560e4cd4f5eded857471042fb5485dfa16b7c46 |
|
04-Jul-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-http: server: Restructured http-server-private.h. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
e1a4ea6ad3e799ef8df7395e765c0ae9218e6c5d |
|
29-Apr-2016 |
Stephan Bosch <stephan@dovecot.fi> |
lib-http: server: Implemented means to gracefully shut down the server.
While shutting down, it will not accept new requests and connections are closed once they become idle. |
201c3b9375760bafbc180629b4c6ad71ed554aec |
|
10-Feb-2016 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: server: Implemented blocking request input stream. |
7c7117e542b6a44c1db7fc91c0180bdace6dbce7 |
|
10-Feb-2016 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: server: Implemented blocking response output stream. |
ee2633056e67353157bfbce4d9e0d1c3ceaa627a |
|
10-Feb-2016 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: server: Created blocking http_server_response_send_payload() API that closely mimics the client equivalent.
It allows sending response payload in several chunks in a blocking fashion. |
2f64a4c88de91c483fb378bc80d10e1caa6f2305 |
|
10-Feb-2016 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: server: Added some request debug logging. |
711e8e4c5c5d702dfa062f42a1ede5de14c151c9 |
|
15-Sep-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: server: Fixed connection reference counting.
Connection often still got destroyed too early. Particularly submitting
responses would potentially destroy the connection, which is often
unexpected. Sending responses is now postponed until handled by the stream
output handler, which is explicitly triggered when necessary. |
564e117d86ce5b659f9b9570edddc566f9ebb5df |
|
10-Sep-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: server: Added support for authentication. |
833bed942977673526c72e79bccc09314fc57104 |
|
13-Aug-2014 |
Phil Carmody <phil@dovecot.fi> |
lib-http: server_request/connection - improve encapsulation
It just feels a bit dirty having the request mess around with the
connection's internals, have the connection manage its linked lists
itself. No functional changes.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
14bd2410de3a0261d9c53c6120915027262216bd |
|
12-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
lib-http server: Delay calling the request's destroy callback until handle_request() callback is finished.
This simplifies the code in the handle_request() so it doesn't need to keep
track of whether the response is already submitted or not. |
faa8995f1d300e7a8917407a52bbd1b98e10bf25 |
|
11-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
lib-http server: Call request destroy callback immediately after response is finished sending.
Regardless of any other references to the request. |
b37e11d37fb1ebf50511eef5d9d96d1205818458 |
|
05-Aug-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: server: Fixed server waiting for payload of already failed request. |
1e9296de32c9ddda40f33c06556cd568ddadf71f |
|
05-Aug-2014 |
Timo Sirainen <tss@iki.fi> |
lib-http server: Made http_server_request_[un]ref() public.
Also http_server_request_unref() now returns if this was the last reference
or not. |
3fcb3d2d1f3583025ff62bae95ec706920f398b1 |
|
21-Jul-2014 |
Stephan Bosch <stephan@rename-it.nl> |
lib-http: Added initial support for server-side HTTP API. |