cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL_RTSPREQ_GET_PARAMETER timeout

From: Massimo Callegari <massimocallegari_at_yahoo.it>
Date: Tue, 23 Mar 2010 16:26:32 +0000 (GMT)

Hello Christopher, I've written a small program for you to reproduce the mentioned issue. Just download and compile the latest live555 version and test this with it. It seems that libcurl always expect a body from a GET_PARAMETER request, but usually an empty GP should work as keepalive for a RTSP connection. Please let me know if you need anything else. Many thanks ! Massimo ________________________________ Da: Christopher Conroy <cconroy@gmail.com> A: libcurl development <curl-library@cool.haxx.se> Inviato: Mar 23 marzo 2010, 16:25:36 Oggetto: Re: CURL_RTSPREQ_GET_PARAMETER timout On Tue, Mar 23, 2010 at 6:20 AM, Massimo Callegari <massimocallegari@yahoo.it> wrote: > > Hello everybody. > I am developing a small RTSP client to receive data from a live555 server. > Everything goes fine until I start to use the CURL_RTSPREQ_GET_PARAMETER method. > In RTSP this is usually used to send a keepalive to the server. When I send it the curl_easy_perform gets stuck for one minute before returning 200 OK. After that any other command sent to the server returns "RTSP/1.0 405 Method Not Allowed". > I tried to set a 5 seconds timeout, which reduce the operation timout but the 405 error remains there, so no other operation is possible. > > Has anyone experienced this so far ? > Is this an internal libcurl fault or am I misunderstanding something ? > > Thanks in advance > Massimo Massimo, if possible could you send a small program that reproduces the issue for you? I should be able to look into this tonight, but if I have a test case in hand it will be a lot easier to debug. At the very least, a tcpdump of the RTSP interaction between your app and the server would be helpful. --Chris ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-03-23