NTLM Small file (< 2000 bytes) upload fails

2013-05-31 Thread vaugham hong
Hey, I am using libcurl's multi APIs to upload (push) a file to a sharepoint server with NTLM authentication. Everything is fine and dandy when the file size is >= 2000 bytes, but hangs when we are < 2000 bytes. I'll try to frame the problem, my tests, a solution and questions as concisely as poss

cURL using axTLS non-blocking

2013-05-31 Thread Hu, Eric
Hello, As promised, here is a patch to make the cURL/axTLS interactions maximally non-blocking. At first glance, it may look like I undid all the previous memory leak work, but it's just all been collected into Curl_axtls_close since ssl_ctx and ssl have to be assigned to conn for the non-bloc

Re: Regarding Usage of Custom Application Layer in Internet Protocol Suite

2013-05-31 Thread David Strauss
You could also just use an SSL sockets library directly or look at ZeroMQ. libcurl isn't suited to using HTTP without the HTTP. --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquet

Re: Regarding Usage of Custom Application Layer in Internet Protocol Suite

2013-05-31 Thread Alan Wolfe
You ought to google web sockets. Basically, with web sockets you have the initial overhead of an http request and response, but then the connection doesn't close and you can send and receive data (true bidirectional communication) all day long without the overhead of http. One of the benefits of

Regarding Usage of Custom Application Layer in Internet Protocol Suite

2013-05-31 Thread PRAKHAR gaur
Hello, I am using libcurl for a client which uses two way SSL authentication.curl_easy_send/recv().The server is also a custom implementation. Now as we want to send and receive only json, without a restful API, hence it does not make sense to use HTTP protocol.Hence now the message consists of

Program received signal SIGPIPE, Broken pipe.

2013-05-31 Thread Indtiny s
Hi, I am running a one application which starts the timer thread for some internal purpose . when I ever that timer expires I do some actions and send the results to server so I use curl to post the result to the server with https (using openssl ) . When Iever curl perform the easy_perform , I r

Re: progressfunction called too much

2013-05-31 Thread Linos
On 31/05/13 03:30, NSRT Mail account. wrote: > I notice that in libcurl C that if I set some upload rate limits, and upload a > sizable file, the progress fuction is also called way too often. > -Nach > > > *From:* Li