Re: BUG: NULL pointer dereference in Curl_ssl_getsessionid.

2013-04-20 Thread Daniel Stenberg
On Fri, 19 Apr 2013, Marc Hoersken wrote: Your other investigation were correct, too. I just verified the crash location with gdb: Program received signal SIGSEGV, Segmentation fault. 0x00414070 in Curl_ssl_getsessionid () (gdb) bt #0 0x00414070 in Curl_ssl_getsessionid () #1 0x00422074

Re: [PATCH] SFTP file listing suggestion

2013-04-20 Thread David Strauss
A big +1. Stuff like this makes writing protocol-portable file systems and clients much easier. On Sat, Apr 20, 2013 at 6:58 AM, Павел Шкраблюк wrote: > Hello, > > I want to suggest an option for the SFTP that will allow library's client to > get information about files in the directory listing i

[PATCH] SFTP file listing suggestion

2013-04-20 Thread Павел Шкраблюк
Hello, I want to suggest an option for the SFTP that will allow library's client to get information about files in the directory listing in the form of curl_fileinfo structure. The patch in attachment works well for me, however I would like to know does it suit the Curl "philosophy". I've added

[PATCH] getinfo.c: reset timecond when clearing session-info variables

2013-04-20 Thread Alessandro Ghedini
Hi, as reported at [0], the timecond session variable doesn't get reset before performing a request, so CURLINFO_CONDITION_UNMET may report wrong values (ie "1" when it should be "0") if eg the CURLOPT_TIMEVALUE option changes between requests. The attached test case does two requests: the first