cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: FW: Post XML Document through Microsoft ISA Server

From: Richard Thorp <Richard.Thorp_at_cedaropenaccounts.com>
Date: Mon, 6 Mar 2006 16:20:49 -0000

Thanks for the prompt responses to all my emails. I did a quick google
after I sent the last email and saw the fact that you can't reproduce.
Sorry!

Tried the following command line. No joy... (even with -v removed)

Is there anything else I can try? Libeay32.dll and libssl32.dll from
openssl 0.9.8 are in the opsys path.

c:\curl\curl -H "Content-type: text/xml" -d @c:\curl\testfile.xml -U
name:password -x proxy:port --proxy-ntlm
https://secure.dev.gateway.gov.uk/submission -k --trace-ascii
"c:\curl\trace4.txt" > c:\curl\response9.txt

== Info: About to connect() to proxy 10.90.33.12 port 80
== Info: Trying 10.90.33.12... == Info: connected
== Info: Connected to 10.90.33.12 (10.90.33.12) port 80
== Info: Establish HTTP proxy tunnel to secure.dev.gateway.gov.uk:443
== Info: Proxy auth using NTLM with user 'irinternet'
=> Send header, 300 bytes (0x12c)
0000: CONNECT secure.dev.gateway.gov.uk:443 HTTP/1.0
0030: Host: secure.dev.gateway.gov.uk:443
0055: Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAAC
0095: AAAAA=
009d: User-Agent: curl/7.15.1 (i586-pc-mingw32msvc) libcurl/7.15.1 Ope
00dd: nSSL/0.9.8 zlib/1.2.2
00f4: Proxy-Connection: Keep-Alive
0112: Content-type: text/xml
012a:
<= Recv header, 44 bytes (0x2c)
0000: HTTP/1.1 407 Proxy Authentication Required
<= Recv header, 103 bytes (0x67)
0000: Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAAAAADgAAAACAgACkZpp1sC
0040: EOOwAAAAAAAAAAAAAAAA4AAAABQCTCAAAAA8=
<= Recv header, 25 bytes (0x19)
0000: Cache-Control: no-cache
<= Recv header, 18 bytes (0x12)
0000: Pragma: no-cache
<= Recv header, 25 bytes (0x19)
0000: Content-Type: text/html
<= Recv header, 30 bytes (0x1e)
0000: Proxy-Connection: Keep-Alive
<= Recv header, 39 bytes (0x27)
0000: Set-Cookie: BCSI-CS0A5A210C=2; Path=/
<= Recv header, 24 bytes (0x18)
0000: Connection: Keep-Alive
<= Recv header, 21 bytes (0x15)
0000: Content-Length: 837
<= Recv header, 2 bytes (0x2)
0000:
== Info: Ignore 837 bytes of response-body
== Info: Proxy auth using NTLM with user 'irinternet'
=> Send header, 420 bytes (0x1a4)
0000: CONNECT secure.dev.gateway.gov.uk:443 HTTP/1.0
0030: Host: secure.dev.gateway.gov.uk:443
0055: Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEoAAAAYABgAYgAAAA
0095: AAAABAAAAACgAKAEAAAAAAAAAASgAAAAAAAAB6AAAAAYIAAGlyaW50ZXJuZXRQBw
00d5: ekEG3SadaI2ZBloIXngFeckIe/c3972vrdlVqXEz2PH3a12xH/J8EUo3tWL3E=
0115: User-Agent: curl/7.15.1 (i586-pc-mingw32msvc) libcurl/7.15.1 Ope
0155: nSSL/0.9.8 zlib/1.2.2
016c: Proxy-Connection: Keep-Alive
018a: Content-type: text/xml
01a2:
<= Recv header, 37 bytes (0x25)
0000: HTTP/1.1 200 Connection established
<= Recv header, 42 bytes (0x2a)
0000: Proxy-agent: BlueCoat-Security-Appliance
<= Recv header, 2 bytes (0x2)
0000:
== Info: Proxy replied OK to CONNECT request
== Info: SSL: couldn't set callback!
== Info: Closing connection #0

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: 06 March 2006 15:43
To: the curl tool
Subject: RE: FW: Post XML Document through Microsoft ISA Server

On Mon, 6 Mar 2006, Richard Thorp wrote:

> I changed to -U (from -u) and got a bit further - but no document
returned
> but a "== Info: SSL: couldn't set callback!" message in the trace log.
I
> feel we are nearly there!

I feel like I've answered this "couldn't set callback" thing numerous
times
during recent days: It is a bug that I cannot reproduce and nobody has
yet
fixed.

A work-around is to disable the verbose logging, as then it doesn't
attempt to
set that OpenSSL debug callback.

-- 
  Commercial curl and libcurl Technical Support:
http://haxx.se/curl.html
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst CedarOpenAccounts 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. CedarOpenAccounts grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  
CedarOpenAccounts is a trading name of Cedar Software Ltd and
OpenAccounts Ltd.
For more information on CedarOpenAccounts and our products, 
please visit our web site at http://www.cedaropenaccounts.com
Received on 2006-03-06