cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Hangs every other transaction

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 19 Oct 2001 10:37:17 +0200 (MET DST)

On Thu, 18 Oct 2001, Jonathan Hilgeman wrote:

> I use cURL + SSL to connect to a gateway and I send transactions to the
> gateway and receive info back for parsing. However, I've been having a
> lot of problems with cURL simply hanging. Finally, I reduced my tests
> down to a simple command line test:
>
> curl https://gateway.location.url
>
> And the first thing I get back is the appropriate error message from the
> gateway saying invalid configuration, which is what SHOULD happen. This
> happens within 1-2 seconds. Then, I hit the up arrow to repeat the exact
> same command, and it just hangs there until I hit CTRL+C to break out.
> This only happens with a certain gateway. All other https and http URLs
> seem to work fine. Any ideas anyone?

It certainly sounds as if that particular gateway is the one to blame for
this.

You could use curl -v to view the protocol interaction to see if that offers
any hints and you could try a network sniffer to see if there's any data at
all sent from the 'gateway'.

You could also consider talking to the admins of that gateway to get to know
if they can see anything odd in their log files or similar.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-19