Re: rtsp

2017-08-09 Thread Erik Janssen
in case of UDP the data does not flow through curl, you must have adapted the sample in that case? lots of devices have a sloppy rtsp implementation, that could play a role. You already check with VLC, i'd say use wireshark to compare vlc rtsp with traffic from curl, then you know erik

RE: Transfer completion is not reported if 200 for GET has body and has no Content-Length header

2017-08-09 Thread Novoseltsev, Igor via curl-library
>> My application sends GET and receives 200 with body in response. The >> 200 response has no Content-Length header. That causes libcurl not to >> report DONE for the Easy, even whole body was reed from socket. >> >> To indicate end of body the server closes connection. > I can't reproduce this

[SECURITY ADVISORY] curl: URL globbing out of bounds read

2017-08-09 Thread Daniel Stenberg
URL globbing out of bounds read === Project curl Security Advisory, August 9th 2017 - [Permalink](https://curl.haxx.se/docs/adv_20170809A.html) VULNERABILITY - curl supports "globbing" of URLs, in which a user can pass a numerical range to have the tool

[SECURITY ADVISORY] curl: TFTP sends more than buffer size

2017-08-09 Thread Daniel Stenberg
TFTP sends more than buffer size Project curl Security Advisory, August 9th 2017 - [Permalink](https://curl.haxx.se/docs/adv_20170809B.html) VULNERABILITY - When doing a TFTP transfer and curl/libcurl is given a URL that contains a very long file

[SECURITY ADVISORY] curl: FILE buffer read out of bounds

2017-08-09 Thread Daniel Stenberg
FILE buffer read out of bounds == Project curl Security Advisory, August 9th 2017 - [Permalink](https://curl.haxx.se/docs/adv_20170809C.html) VULNERABILITY - When asking to get a file from a file:// URL, libcurl provides a feature that outputs meta-data

RE: Transfer completion is not reported if 200 for GET has body and has no Content-Length header

2017-08-09 Thread Daniel Stenberg
On Wed, 9 Aug 2017, Novoseltsev, Igor via curl-library wrote: * no chunk, no close, no size. Assume close to signal end Could you kindly check the same for POST? While looking into log, I discovered that it was 200 for POST. Body was in POST and body was in 200. I would reproduce it, but

[RELEASE] curl 7.55.0

2017-08-09 Thread Daniel Stenberg
Hi friends! I'm happy to tell that we've once again put together a curl release. Download it as usual from: https://curl.haxx.se/ Curl and libcurl 7.55.0 Public curl releases: 167 Command line options: 210 curl_easy_setopt() options: 247 Public functions in libcurl:

RE: Transfer completion is not reported if 200 for GET has body and has no Content-Length header

2017-08-09 Thread Novoseltsev, Igor via curl-library
> The request method doesn't matter for this. libcurl handles the end of the > response the same way no matter which. Will debug it next time if encounter that problem again. Thank you! Spirent Communications e-mail confidentiality.

Using libcurl sending much more HTTP request in parallel

2017-08-09 Thread fan fan via curl-library
Hi all, This is my fist post to this list, so I want to use this opportunity to thanks all of you (mainly Daniel) for the development, maintenance and support efforts you invest on this amazing tool "cUrl". In my application, I using libcurl to send 40 HTTP requests in every one second. As

rtsp

2017-08-09 Thread folkert
Hi, Tring to get https://curl.haxx.se/libcurl/c/rtsp.html to work. The cameras are known to work; I can view their rtsp stream using vlc. Now when I run the program from the url above, nothing happens. I did a tcpdump of the ports it should receive on (tcpdump -i eth0 -n port 1234 \|\| port 1235)

Re: rtsp

2017-08-09 Thread Erik Janssen
Hi, my guess: upgrade to newer version. RTSP Authentication is only handled from 7.45 or so. Erik Oorspronkelijk bericht Van: folkert Datum: 09-08-17 11:58 (GMT+01:00) Aan: curl-library@cool.haxx.se Onderwerp: rtsp Hi, Tring to get

Re: Using libcurl sending much more HTTP request in parallel

2017-08-09 Thread Daniel Stenberg
On Wed, 9 Aug 2017, fan fan via curl-library wrote: In my application, I using libcurl to send 40 HTTP requests in every one second. As I test, this consume much CPU, my application such as: main thread for sending request and using epoll listen fds whether read or write.

Re: Using libcurl sending much more HTTP request in parallel

2017-08-09 Thread Jack via curl-library
On Thu, Aug 10, 2017 at 6:33 AM, Daniel Stenberg wrote: > On Wed, 9 Aug 2017, fan fan via curl-library wrote: > >In my application, I using libcurl to send 40 HTTP requests in every >> one second. As I test, this consume much CPU, my application such as: >> >> main thread

Re: Using libcurl sending much more HTTP request in parallel

2017-08-09 Thread Jack via curl-library
By the way I use hiperfifo.c to send HTTPS 40 requests at the same time in https://curl.haxx.se/libcurl/c/hiperfifo.html CPU sometimes burst to 69% or 80%, quickly down to 25% then to 0.0% Code below: static void fifo_cb(int fd, short event, void *arg) { char s[1024]; long int rv=0; int

Re: rtsp

2017-08-09 Thread folkert
Ah darn indeed that's the problem! Strangely enough 1 camera does not work at all and the other only with udp. On Wed, Aug 09, 2017 at 10:58:09AM +, Erik Janssen wrote: > Hi, > > my guess: upgrade to newer version. RTSP Authentication is only handled from > 7.45 or so. > > Erik > > >