Re: cannot find -lcurl

2011-12-30 Thread Gabriel
I think this problem maybe the tool I used to cross compile . So I changed to use gcc to compile the rtsp.c ,but another trouble frustrated me. rtsp.c: In function ‘rtsp_options’: rtsp.c:75: error: ‘CURLOPT_RTSP_STREAM_URI’ undeclared (first use in this function) rtsp.c:75: error: (Each

Re: Issues in constraining number of open connections with curl multi interface

2011-12-30 Thread Mukul Kedare
Hi Daniel, It seems like I had not put up the application logic properly in previous mail. Let me explain the it to you more clearly. Further, let me tell you what our assumptions were and what we understood after trying out sample codes and going through curl documentation. :) And finally

Re: cannot find -lcurl

2011-12-30 Thread Dan Fandrich
On Fri, Dec 30, 2011 at 04:03:11PM +0800, Gabriel wrote: I think this problem maybe the tool I used to cross compile . So I changed to use gcc to compile the rtsp.c ,but another trouble frustrated me. rtsp.c: In function ¡®rtsp_options¡¯: rtsp.c:75: error: ¡®CURLOPT_RTSP_STREAM_URI¡¯

Re: [PATCH] examples: add a couple of simple pop3s examples

2011-12-30 Thread Daniel Stenberg
On Wed, 28 Dec 2011, Alessandro Ghedini wrote: I have written a couple of very simple pop3s examples, which are both based on the https.c one (actually, they are copy-pasted with some minor modifications). Thanks, pushed now! -- / daniel.haxx.se

Query regarding RTSP authentication

2011-12-30 Thread jeremy
Hi, I've recently started playing around with libcurl, I'm using libcurl 7.23.1 for RTSP comms to an old password protected Axis camera. The problem is libcurl times out after it receives a 401 response from the RTSP describe request. After scouring the examples and archives for inspiration I

Re: Query regarding RTSP authentication

2011-12-30 Thread Daniel Stenberg
On Fri, 30 Dec 2011, jer...@fastmail.co.uk wrote: After scouring the examples and archives for inspiration I came across a mail titled '[PATCH] RTSP-Authentication' (http://curl.haxx.se/mail/lib-2011-06/0004.html). I promptly applied the patch from the mailing list and libcurl started

Re: Query regarding RTSP authentication

2011-12-30 Thread jeremy
On Fri, Dec 30, 2011, at 16:31, Daniel Stenberg wrote: On Fri, 30 Dec 2011, jer...@fastmail.co.uk wrote: After scouring the examples and archives for inspiration I came across a mail titled '[PATCH] RTSP-Authentication' (http://curl.haxx.se/mail/lib-2011-06/0004.html). I promptly

Re: curl gets into infinite redirect loop

2011-12-30 Thread Daniel Stenberg
On Thu, 29 Dec 2011, Alex Vinnik wrote: Added strtolower function to http.c. Was not sure if libcurl has similar function. See code diff below. It fixed the problem! curl now gets to the final destination. Run all tests. Thanks for verifying this. The fact that all tests still run fine only

Re: curl gets into infinite redirect loop

2011-12-30 Thread Alex Vinnik
On Fri, Dec 30, 2011 at 1:46 PM, Daniel Stenberg dan...@haxx.se wrote: On Thu, 29 Dec 2011, Alex Vinnik wrote: Added strtolower function to http.c. Was not sure if libcurl has similar function. See code diff below. It fixed the problem! curl now gets to the final destination. Run all