cURL / Mailing Lists / curl-users / Single Mail


server works with curl 7.9.8, but not 7.10.4 and above

From: Rudy Koento <>
Date: Tue, 27 May 2003 00:45:19 -0700 (PDT)

I've trouble connecting to a SMC wireless AP
(SMC2655W) using curl 7.10.4 (and .5 and cvs version).
 It works before with curl 7.9.8.

I run the command:
$ ./curl -d "passwd=default" -v
* About to connect() to
* Connected to ( port 80
> POST /cgi-bin/login_post HTTP/1.1
User-Agent: curl/7.10.5 (i686-pc-linux-gnu)
libcurl/7.10.6-pre1 OpenSSL/0.9.6b zlib/1.1.4
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, */*
Content-Length: 14
Content-Type: application/x-www-form-urlencoded

< HTTP/1.0 200 OK
< Expires: 0
< Content-type: text/html
<script language="javascript">
function goBack(){
function goAround(){
<html><body onLoad="goAround()">
* Closing connection #0

Seems that there's no posting of "passwd=default".
But an ngrep shows:

T -> [AP]
  POST /cgi-bin/login_post HTTP/1.1..User-Agent:
curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.6-pr
  e1 OpenSSL/0.9.6b zlib/1.1.4..Host: no-cache..Accept: image/gif,
  bitmap, image/jpeg, image/pjpeg,
*/*..Content-Length: 14..Content-Type:
T -> [AP]
  HTTP/1.0 200 OK..
T -> [AP]
T -> [AP]
  Expires: 0..Content-type: text/html..<script
language="javascript">.function goBack(){.location.
T -> [AP]

From the log, seems that "passwd=default" is passed
after the "HTTP/1.0 200 OK"? This is not the case
when I use curl 7.9.8. The "passwd=..." is before
"HTTP/1.0 ...."

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

This email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software.
Received on 2003-05-27