cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Different behavior between win32 and linux versions

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 Nov 2002 10:46:51 +0100 (MET)

On Wed, 6 Nov 2002, Carl Youngblood wrote:

> I'm having a strange problem. I'm writing a web app that will log into my
> online banking account for me and extract some information. The back end
> uses curl to do the web access. On Windows XP, using the following version
> settings:
>
> curl 7.9.8 (win32) libcurl 7.9.8 (OpenSSL 0.9.6b)
>
> everything works as expected. But on mandrake linux with the latest curl
> version:
>
> curl 7.10.1 (i686-pc-linux-gnu) libcurl/7.10.1 OpenSSL/0.9.6c zlib/1.1.3
>
> it doesn't work.

You could start trying with the same version of curl on both platforms. It
does sound like a bug or something.

It could also help if you could show us what command line parameters you were
using to get the different behaviors.

> I've verified that in both cases the same exact command-line parameters are
> being used. The only thing I have yet to do is to monitor the transmissions
> with an https sniffer to see what the linux version is doing differently.

--trace is your friend and should more or less remove the need for a https
sniffer.

> If anyone has any information that could help me isolate this problem,
> please let me know. For what it's worth, my bank's web server is running
> Netscape-Enterprise/4.1.

Compare trace outputs first. Try the same version of curl on both platforms.

If possible, write together script to run on your own server that receives
the request you send to the bank and compare that both requests look fine.

Are you using -A to set the User-Agent field for your requests?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Received on 2002-11-07