RE: http.client does not finish current streams after a connection lost

2024-03-29 Thread Sergey Bronnikov via curl-library
Hello, everyone, there was an issue in Tarantool [1] due to regression in libcurl [2], it was reported on 23 Aug, 2023. Issue was fixed in upstream on 4 Sept, 2023 and fix was confirmed by our tests for Tarantool. Unfortunately, this fix was reverted by refactoring made in commit d7b6ce64ce0ad

Re: regression in 8.6.0: unexpected body leads to CURLE_WEIRD_SERVER_REPLY

2024-02-01 Thread Sergey Bronnikov via curl-library
Hi, Daniel On 2/1/24 15:26, Daniel Stenberg wrote: On Thu, 1 Feb 2024, Sergey Bronnikov via curl-library wrote: when http server send non-empty http body in response of HEAD request Potential fix: https://github.com/curl/curl/pull/12842 It fixes the problem, thanks! -- Unsubscribe: https

regression in 8.6.0: unexpected body leads to CURLE_WEIRD_SERVER_REPLY

2024-02-01 Thread Sergey Bronnikov via curl-library
Hello, I've updated libcurl (8.5.0 -> 8.6.0) in our http client and discovered a regression: when http server send non-empty http body in response of HEAD request http client finish connection with CURLE_WEIRD_SERVER_REPLY. Part of the difference in logs is below: -* STATE: PERFORMING => DO

Re: problem with unpaused connection

2024-01-22 Thread Sergey Bronnikov via curl-library
On 1/22/24 18:29, Daniel Stenberg wrote: On Mon, 22 Jan 2024, Sergey Bronnikov wrote: https://github.com/curl/curl/pull/12740 I've applied the patch and run tests 50 times in a loop without fails. Seems it is a correct fix. Thanks for confirming. This PR has now been merged and will be p

Re: problem with unpaused connection

2024-01-22 Thread Sergey Bronnikov via curl-library
Hi, Daniel On 1/19/24 20:20, Daniel Stenberg wrote: On Thu, 18 Jan 2024, Sergey Bronnikov via curl-library wrote: curl library with enabled debug prints a message below before a test fail: readwrite, dselect_bits, early return on PAUSED This message was introduced in aforementioned

Re: problem with unpaused connection

2024-01-19 Thread Sergey Bronnikov via curl-library
On 1/19/24 00:04, Dan Fandrich via curl-library wrote: On Thu, Jan 18, 2024 at 01:46:34PM +0300, Sergey Bronnikov via curl-library wrote: Before Curl version 8.4.0 everything worked fine (exactly with Curl 8.3.0), but after updating Curl to 8.4.0 in our HTTP client Have you tried 8.5.0

problem with unpaused connection

2024-01-18 Thread Sergey Bronnikov via curl-library
Hello, everyone I'm stuck with a problem and asking for a help. Context: we have a project that contains a HTTP client with Lua API implemented using Curl library, sources are [3] and [4]. This Lua HTTP client used in another closed-source Lua module that implements an etcd client in Lua.

coverity warnings (Y2K38_SAFETY and OOB access)

2023-09-25 Thread Sergey Bronnikov via curl-library
Hello, everyone! we are using libcurl as a part of application server in Tarantool in-memory database [1]. After bumping Git submodule with curl repository to the latest version (8.3.0) Coverity reported a couple of warnings found in libcurl source code. As I got it right according to cur