log src/lib-http/http-client-connection.c @ 22656:1789bf2a1e01

age author description
Tue, 11 Jul 2017 14:18:47 +0200 Stephan Bosch lib-http: Restructured the header, message, request, and response parsers to have an extensible and consistent API using flags.
Mon, 19 Jun 2017 11:21:14 +0300 Timo Sirainen lib-http: Fix memory leak in HTTP connection deinit
Wed, 24 May 2017 21:59:32 +0200 Stephan Bosch lib-http: client: When a request is destroyed prematurely during payload input, consider the payload stream destroyed and act accordingly.
Wed, 24 May 2017 19:08:43 +0200 Stephan Bosch lib-http: client: Explicitly destroy the response payload timeout stream when the request is destroyed while receiving payload.
Wed, 29 Mar 2017 01:25:21 +0200 Stephan Bosch lib-http: client: Implemented means to obtain request statistics.
Thu, 30 Mar 2017 22:29:13 +0200 Stephan Bosch lib-http: client: Fixed request-specific attempt timeout.
Sun, 19 Mar 2017 15:47:41 +0100 Stephan Bosch global: Use http_response_get_message() to log HTTP responses.
Tue, 10 Jan 2017 02:12:25 +0100 Stephan Bosch lib-http: client: Make sure req->conn is only not NULL when that connection holds a reference to that request.
Thu, 19 Jan 2017 02:16:06 +0100 Stephan Bosch lib-http: client: Keep connection reference throughout http_client_connection_return_response().
Wed, 11 Jan 2017 02:51:13 +0100 Stephan Bosch Updated copyright notices to include the year 2017.
Wed, 11 Jan 2017 01:57:46 +0100 Stephan Bosch global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Fri, 16 Dec 2016 23:36:19 +0100 Stephan Bosch lib-http: client: Treat connections that get disconnected prematurely as connection failures.
Fri, 16 Dec 2016 22:30:42 +0100 Stephan Bosch lib-http: client: Consolidated connection loss handling into a single function.
Tue, 15 Nov 2016 11:42:47 +0100 Timo Sirainen lib-http: Use io_wait_timer for tracking wait times.
Thu, 16 Jun 2016 22:02:08 +0200 Stephan Bosch lib-http: client/server: Enable the TCP_NODELAY option for all connections.
Mon, 23 May 2016 02:36:10 +0200 Stephan Bosch lib-http: client: Improved labeling of debug messages.
Wed, 14 Sep 2016 01:26:10 +0200 Stephan Bosch lib-http: client: Added function that checks whether a connection is currently active.
Sun, 11 Sep 2016 19:34:34 +0200 Stephan Bosch lib-http: client: Created http_client_connection_failure() handler.
Sun, 11 Sep 2016 19:44:32 +0200 Stephan Bosch lib-http: client: Set conn->connect_request to NULL immediately in http_client_connection_tunnel_response().
Mon, 24 Oct 2016 13:08:47 +0300 Timo Sirainen lib-http: Add ioloop and lock wait information to timeout messages.
Thu, 06 Oct 2016 13:50:59 +0300 Timo Sirainen global: Make sure i_stream_read() calls handle 0 and -2 return values correctly.
Tue, 13 Sep 2016 22:54:02 +0200 Stephan Bosch lib-http: client: Fixed hang occurring when nested ioloops are used in response callbacks.
Thu, 04 Aug 2016 17:11:20 +0300 Timo Sirainen lib-http: Support per-request timeout and max_attempts
Thu, 30 Jun 2016 22:35:59 +0200 Stephan Bosch lib-http: client: Fixed potential segfault problem in http_client_connection_server_close().
Fri, 17 Jun 2016 16:59:15 +0200 Stephan Bosch lib-http: client: Implemented no_auto_retry setting that disables all automatic request retries.
Thu, 26 May 2016 18:27:27 +0300 Timo Sirainen lib-http: Improved error logging for net_set_*_buffer_size() failures.
Wed, 25 May 2016 23:41:47 +0200 Stephan Bosch lib-http: client: Fixed bug in handling of lost connections while returning from another ioloop.
Mon, 23 May 2016 02:38:49 +0200 Stephan Bosch lib-http: client: Reworked connection close handling.
Fri, 20 May 2016 00:04:12 +0200 Stephan Bosch lib-http: client: Added settings to configure the connection's socket kernel buffer sizes.
Sat, 21 May 2016 13:16:08 +0200 Stephan Bosch lib-http: client: Improved request reference counting in connection code.
Sun, 22 May 2016 10:42:01 +0200 Stephan Bosch lib-http: client: Fixed reference counting for requests that are aborted due to an early server response.
Wed, 18 May 2016 19:40:32 +0300 Timo Sirainen lib-http: Changed http_client_request_error to set request to NULL
Fri, 25 Mar 2016 02:48:55 +0900 Stephan Bosch lib-http: client: Fixed request timeout handling during pipelining.
Sat, 12 Mar 2016 01:56:55 +0100 Stephan Bosch lib-http: client: Improved test-http-payload to test partial reading of response payload.
Tue, 23 Feb 2016 01:48:47 +0200 Timo Sirainen lib-http: Fix to earlier http_client_connection_unref() change 1dead6
Mon, 22 Feb 2016 20:34:46 +0200 Timo Sirainen lib-http: http_client_request_unref() now always sets *req=NULL
Mon, 22 Feb 2016 20:14:57 +0200 Timo Sirainen lib-http: http_client_connection_unref() now always sets *conn=NULL
Mon, 08 Feb 2016 22:47:30 +0100 Stephan Bosch lib-http: client: Fixed pipelining bug: client sometimes sent new request while still waiting for 100-continue.
Mon, 08 Feb 2016 22:45:54 +0100 Stephan Bosch lib-http: client: Make sure that any pending request is aborted and destroyed before connection FDs are closed.
Wed, 13 Jan 2016 12:24:03 +0200 Timo Sirainen global: freshen copyright
Wed, 23 Dec 2015 11:48:12 +0200 Timo Sirainen lib-http: Add more timing information to debug logs when HTTP connections get closed.
Fri, 04 Dec 2015 13:46:00 +0200 Timo Sirainen lib-http: Give a better error message if request times out.
Mon, 28 Sep 2015 13:54:28 +0300 Timo Sirainen lib-http: Added asserts to all refcount increments.
Mon, 28 Sep 2015 13:53:22 +0300 Timo Sirainen lib-http: Avoid crashes when server is already disconnected.
Mon, 28 Sep 2015 13:51:49 +0300 Timo Sirainen lib-http: Disconnection from HTTP server could have caused accessing already freed memory.
Sat, 25 Apr 2015 11:42:06 +0200 Stephan Bosch http-client: Added support for using an HTTP proxy running on a unix socket.
Sat, 29 Aug 2015 14:26:30 +0300 Stephan Bosch Changed type of internet port values to in_port_t everywhere.
Sat, 29 Aug 2015 14:20:57 +0300 Stephan Bosch lib-http: client: Added proper handling of 408 response status.
Tue, 18 Aug 2015 23:02:01 +0300 Stephan Bosch lib-http: client: Fixed handling of request timeout.
Sat, 25 Apr 2015 11:42:06 +0200 Stephan Bosch lib-http: client: Fixed memory leak in CONNECT tunnel support.
Mon, 05 Jan 2015 22:20:10 +0200 Phil Carmody global: freshen copyright
Sat, 15 Nov 2014 02:37:03 +0200 Stephan Bosch lib-http: client: Removed connection code that is already in src/lib/connection.c.
Tue, 28 Oct 2014 17:15:31 -0700 Timo Sirainen lib-http: Make sure we don't access already freed client connection in payload-destroyed callback.
Sun, 26 Oct 2014 18:43:57 +0200 Stephan Bosch lib-http: client: Removed asssert in http_client_connection_is_ready().
Sun, 26 Oct 2014 18:43:57 +0200 Stephan Bosch lib-http: client: The asserts recently added to http_connection_check_idle() are bogus.
Sat, 25 Oct 2014 01:38:43 +0300 Stephan Bosch lib-http: client: Handle situation in which server sends response before request payload is fully sent.
Sat, 25 Oct 2014 01:38:42 +0300 Stephan Bosch lib-http: client: Fixed handling of requests aborted while still sending payload to server.
Sat, 25 Oct 2014 01:38:42 +0300 Stephan Bosch lib-http: client: Fixed cleanup of remaining waiting requests at connection destroy.
Sat, 25 Oct 2014 01:38:42 +0300 Stephan Bosch lib-http: client: Aborted requests were not counted as finished in the connection's response receive loop.
Thu, 23 Oct 2014 05:55:51 +0300 Stephan Bosch lib-http: client: Fixed proxied client connect timeout.
Thu, 23 Oct 2014 05:55:51 +0300 Stephan Bosch lib-http: client: Clear req->conn when request is finished.
Mon, 20 Oct 2014 08:54:27 -0700 Stephan Bosch lib-http: client: Connection erroneously indicated that it was ready while SSL handshake was not yet completed.
Mon, 20 Oct 2014 08:54:26 -0700 Stephan Bosch lib-http: client: Fixed handling of connection timeouts.
Sun, 12 Oct 2014 08:58:40 -0700 Stephan Bosch lib-http: client: Fixed segfault caused by earlier change.
Sat, 04 Oct 2014 17:32:48 +0300 Stephan Bosch lib-http: Fixed detecting disconnection when ioloop is running only intermittently.
Sat, 04 Oct 2014 17:32:48 +0300 Stephan Bosch lib-http: client: Added support for absolute request timeout.
Sat, 04 Oct 2014 17:30:54 +0300 Stephan Bosch lib-http: client: Fixed problem occuring when a nested ioloop was run inside a request callback using the same client.
Wed, 01 Oct 2014 10:33:39 +0300 Stephan Bosch lib-http: client: Fixed aborting request in the middle of sending payload.
Mon, 29 Sep 2014 14:57:42 +0300 Timo Sirainen lib-http: Fixed assert-crash when http_client_connection_disconnect() is called multiple times.
Wed, 10 Sep 2014 13:39:37 +0300 Stephan Bosch lib-http: client: Tunnel connection failure would cause segfault.
Fri, 11 Jul 2014 14:17:17 +0300 Timo Sirainen lib-http: Debug log now includes where HTTP requests spent their time on.
Wed, 09 Jul 2014 10:55:27 +0300 Stephan Bosch lib-http: Made sure that connections that are still connecting to the server aren't marked as idle.
Wed, 02 Jul 2014 00:10:16 +0300 Stephan Bosch lib-http: Updated comments to RFC7230/RFC7231.
Thu, 26 Jun 2014 20:48:13 +0300 Timo Sirainen lib: Moved rawlog dir stat()s to iostream_rawlog_create() internally.
Sat, 26 Apr 2014 22:40:14 +0300 Stephan Bosch lib-http: Fixed problem with connections idling indefinitely.
Thu, 03 Apr 2014 19:59:30 +0300 Timo Sirainen Use io_add_istream() wherever possible.
Thu, 03 Apr 2014 19:56:47 +0300 Timo Sirainen lib-http: Wrap response payload istream into a istream-timeout.
Tue, 04 Feb 2014 16:23:22 -0500 Timo Sirainen Updated copyright notices to include year 2014.
Sun, 08 Dec 2013 23:41:33 +0200 Timo Sirainen lib-http: Don't try to automatically retry requests whose payload was already lost.
Sat, 23 Nov 2013 00:00:43 +0200 Timo Sirainen lib-http: Fixed request hang on connect() timeout.
Fri, 22 Nov 2013 22:12:08 +0200 Stephan Bosch http: Implemented delayed requests scheduling.
Wed, 06 Nov 2013 19:03:10 +0200 Timo Sirainen lib-http: Use [io]_stream_get_error() instead of just errno strings.
Sat, 12 Oct 2013 11:11:04 +0300 Stephan Bosch lib-http: http-client: Added support for tunneling SSL conntections through proxy.
Sat, 12 Oct 2013 11:05:08 +0300 Stephan Bosch lib-http: Added support for creating CONNECT tunnels through HTTP.
Sat, 12 Oct 2013 10:57:05 +0300 Stephan Bosch lib-http: http-client: Added request error code for broken payload input stream.
Sat, 12 Oct 2013 10:55:38 +0300 Stephan Bosch lib-http: Added support for disabling automatic redirects.
Sat, 12 Oct 2013 10:54:10 +0300 Stephan Bosch lib-http: http-client: When client request is retried based on a response received from server, return full response to caller if retry is not possible.
Mon, 16 Sep 2013 01:02:03 +0300 Stephan Bosch lib-http: http-client: Fixed segfault caused by earlier improvement of connection output locking.
Sun, 15 Sep 2013 03:46:12 +0300 Stephan Bosch lib-http: Implemented limits on overall HTTP header size, size of individual header fields and the number of fields in the header.
Sun, 15 Sep 2013 03:36:18 +0300 Stephan Bosch lib-http: Adjusted response and request parsers to accept a request/response object to fill with data, rather than have it return one.
Sun, 15 Sep 2013 03:35:04 +0300 Stephan Bosch lib-http: Added support for asynchronous payload for requests.
Sun, 15 Sep 2013 03:31:28 +0300 Stephan Bosch lib-http: http-client: Fixed request scheduling and connection management.
Sun, 15 Sep 2013 03:28:21 +0300 Stephan Bosch lib-http: http-client: Connection was using wrong request index in request_wait_list to continue sending outgoing payload.
Sun, 15 Sep 2013 03:27:31 +0300 Stephan Bosch lib-http: http-client: Fixed pipelining when payload synchronizatio (100-continue) is used.
Sun, 04 Aug 2013 12:16:09 +0300 Timo Sirainen lib-http: Don't crash when receiving 304 or a redirect without Location: header.
Thu, 11 Jul 2013 00:30:28 +0300 Timo Sirainen lib-http: Http requests weren't freed when connection was aborted.
Wed, 10 Jul 2013 03:27:52 +0300 Timo Sirainen lib-http: Fix/cleanup to handling connect failures.
Thu, 27 Jun 2013 23:07:20 +0300 Timo Sirainen lib-http: Added more debug messages.
Thu, 27 Jun 2013 20:37:46 +0300 Timo Sirainen lib-http: Don't crash if payload stream is referenced by caller after its connection is freed.
Thu, 27 Jun 2013 20:32:01 +0300 Timo Sirainen lib-http: Remove request timeout from being used during payload read.
Thu, 27 Jun 2013 20:27:57 +0300 Timo Sirainen lib-http: If connection times out, set the stream's errno to ETIMEDOUT in case it's used.
Thu, 27 Jun 2013 20:26:50 +0300 Timo Sirainen lib-http: When connection is freed, abort also the pending request.
Thu, 27 Jun 2013 20:26:13 +0300 Timo Sirainen lib-http: Timeouts were being handled wrong/leaked by ioloop switching.
Thu, 27 Jun 2013 20:24:45 +0300 Timo Sirainen lib-http: Minor code cleanup.
Sun, 09 Jun 2013 02:46:50 +0300 Timo Sirainen lib-http: Added soft_connect_timeout_msecs setting to connect to multiple IPs in parallel.
Thu, 06 Jun 2013 06:32:58 +0300 Timo Sirainen lib-http: Treat connect() timeouts as retryable errors.
Thu, 06 Jun 2013 05:58:16 +0300 Timo Sirainen lib-http: Fixed previous patch setting connection connected only after SSL handshake.
Wed, 05 Jun 2013 16:40:01 +0300 Timo Sirainen lib-http: After peer has received 100 response, don't add ambiguity timeout anymore.
Wed, 05 Jun 2013 16:28:16 +0300 Timo Sirainen lib-http: When receiving 1xx response while waiting for 100, don't restart timeout.
Wed, 05 Jun 2013 16:19:38 +0300 Timo Sirainen lib-http: Added connect and request timeout settings.
Wed, 05 Jun 2013 15:43:42 +0300 Timo Sirainen lib-http: Mark the HTTP connection connected only after SSL handshake is finished.
Wed, 10 Apr 2013 18:00:12 +0300 Timo Sirainen lib-http: Don't double-free request memory when aborting them.
Mon, 08 Apr 2013 13:03:12 +0300 Timo Sirainen lib-http: If remote SSL cert is invalid, treat it as non-retryable error.
Sun, 07 Apr 2013 23:17:37 +0300 Timo Sirainen istream API change: Added support for multiple destroy callbacks.
Sun, 07 Apr 2013 14:56:19 +0300 Timo Sirainen lib-http: Fixed receiving 100-continue reply after we already timed out waiting for it.
Thu, 04 Apr 2013 18:10:04 +0300 Timo Sirainen lib-ssl-iostream: Simplified certificate validation. Also give better error messages.
Thu, 04 Apr 2013 17:39:17 +0300 Timo Sirainen lib-ssl-iostream: Added support for TLS SNI, which caused some API changes.
Thu, 04 Apr 2013 17:34:23 +0300 Timo Sirainen lib-http: Prepare for TLS SNI support.
Thu, 04 Apr 2013 15:40:08 +0300 Timo Sirainen lib-ssl-iostream: If handshake callback fails, close the iostreams immediately.
Thu, 04 Apr 2013 15:21:52 +0300 Timo Sirainen lib-http: Removed last traces of http_client_connection_error()