Re: Unicode and NTLM

2012-07-02 Thread Christian Hägele
Hello, I tested the Proxy-authentication via NTLM with unicode usernames on windows and encountered two different problems: 1. Currently we are using libCurl 7.23.1. As we tested the latest libcurl we found a serious regression Bug. (Detailed description:

Re: Unicode and NTLM

2012-07-02 Thread Daniel Stenberg
On Mon, 2 Jul 2012, Christian Hägele wrote: 1. Currently we are using libCurl 7.23.1. As we tested the latest libcurl we found a serious regression Bug. (Detailed description: http://curl.haxx.se/bug/view.cgi?id=3538625) Right. I'll try to assist there but it's really hard for me as I don't

Re: Server gives 404 error on curl_easy_send()

2012-07-02 Thread Daniel Stenberg
On Mon, 2 Jul 2012, Sameer Agrawal wrote: I am trying to send POST request to a web server using curl_easy_send(). Can I stop you there already? If you intend to do plain HTTP, then you really should not use curl_easy_send() as libcurl itself supports HTTP much better using the proper

Re: Unicode and NTLM

2012-07-02 Thread Christian Hägele
Am 02.07.2012, 11:34 Uhr, schrieb Daniel Stenberg dan...@haxx.se: 'domlen' is calculated to be the difference between two pointers, but yet it decodes the domain name from utf8 which could lead the length amount to be wrong on line 411 ntlm-identity.Domain[domlen] = TEXT('\0'), can't it?

Re: Makefile.m32: Run del and copy commands through cmd

2012-07-02 Thread Yang Tse
On Sun, Jul 1, 2012 at 1:41 PM, Guenter li...@gknw.net wrote: I've in mind to change the makefiles in a way so that they can also run from MSYS or Linux bash, and this will exactly tweak at these commands ... Gün, It would be very interesting if your changes prevented winbuild from writing

Re: Unicode and NTLM

2012-07-02 Thread Daniel Stenberg
On Mon, 2 Jul 2012, Christian Hägele wrote: would be wrong. The updated patch addresses this issue and changes the logic of copying the strings a little bit. Unfortunately I don't see a way to not have one additional copy of the strings when Unicode is used. Because of that extra copy the

Re: Makefile.m32: Run del and copy commands through cmd

2012-07-02 Thread Guenter
Am 02.07.2012 20:50, schrieb Yang Tse: It would be very interesting if your changes prevented winbuild from writing into the source subdirs as much as possible. :-p thats usually done, yes - however also usually all created files should be removed after a clean, or maybe vclean (which I have in

Session still remains even connection get closed

2012-07-02 Thread Swamy Mudhbasalar
Hi, I am downloading many files from the server. I used persistent connection and reusing the session. After getting all the files closing the connection using curl_easy_cleanup. Problem is still am seeing a session active on server side. Is there anyway i can close this session before