Re: dynbuf: PR #5300

2020-05-01 Thread Daniel Stenberg via curl-library
On Fri, 1 May 2020, Patrick Monnerat via curl-library wrote: - Implement auto shrink when shortening data under an arbitrary watermark, for example 20% of the allocated memory. I don't think we need that. The only current code that decreases the buffer sizes do this (they reset the size to z

Re: Curl status code does not match 'last' status when using 102 'Processing' in interim

2020-05-01 Thread Ray Satiro via curl-library
On 5/1/2020 12:54 PM, Alex Shaver via curl-library wrote: I have a server I connect to that may return one or more 102 'processing' messages to keep the connection alive while a long processing action is underway. Supposing the final message is a 200 response, when I check the curl status code,

Re: dynbuf: PR #5300

2020-05-01 Thread Patrick Monnerat via curl-library
On 4/30/20 3:10 PM, Daniel Stenberg via curl-library wrote: Hi team, In PR 5300 I'm introducing a library-wide change that I wanted to make you all aware of! # Feedback? I think there is also the sequence at https://github.com/curl/curl/blob/master/packages/OS400/ccsidcurl.c#L855 that c

Curl status code does not match 'last' status when using 102 'Processing' in interim

2020-05-01 Thread Alex Shaver via curl-library
I have a server I connect to that may return one or more 102 'processing' messages to keep the connection alive while a long processing action is underway. Supposing the final message is a 200 response, when I check the curl status code, it returns 102 as the status. I first noticed this while usi

Re: Return code of server side scp command differs between curl and scp clients

2020-05-01 Thread Daniel Stenberg via curl-library
On Thu, 30 Apr 2020, Daniel Carpenter via curl-library wrote: Could anyone help me work out a difference in behaviour between using curl with an scp protocol vs /usr/bin/scp ? On the server, I have a small Python wrapper script which defers to an scp subprocess, using ForceCommand in my sshd c

Re: [RELEASE] curl 7.70.0

2020-05-01 Thread Daniel Stenberg via curl-library
On Thu, 30 Apr 2020, Dennis Clarke via curl-library wrote: Hey there. Sorry but the hard core C99 compiler on Solaris 10 gives a nasty error about strdup in the test stage. That was unexpected, I can't recall us doing anything with strdup() in recent time. c99? Did you mean that or did you