Re: Can't call curl_global_init from a thread -- understanding the architecture

2014-10-06 Thread Dan Fandrich
On Mon, Oct 06, 2014 at 08:09:51AM +0200, Tor Arntsen wrote: > On 4 October 2014 23:05, Dan Fandrich wrote: > > On Sat, Oct 04, 2014 at 04:55:40PM -0400, K. Frank wrote: > > >> First, do I understand correctly that if, say, I were to have > >> main() in a perfectly ordinary C program spawn a thre

Multi interface: mis-match in number of requests sent to number of responses received

2014-10-06 Thread nikhil ap
I am using multi interface to send 1000's of GET requests and process the responses. In certain cases I am seeing a mismatch in requests sent to responses received. For example, 200 requests are sent but only 195 responses are processed even though 200 OK responses are received by the client. I u

Re: Multi interface: mis-match in number of requests sent to number of responses received

2014-10-06 Thread Daniel Stenberg
On Mon, 6 Oct 2014, nikhil ap wrote: For example, 200 requests are sent but only 195 responses are processed even though 200 OK responses are received by the client. I used wireshark to confirm that all requests are getting responses. And by confirming you mean you saw the 200 response arrive

Multi-interface: the multi-uv example doesn't work with a localhost WWW service

2014-10-06 Thread Waldek Kozba
Hi, as in the title: the multi-uv example ( http://curl.haxx.se/libcurl/c/multi-uv.html) does not download for me the content from the local WWW server (local means the example is being run on the same VM that the WWW server runs). When I change the URL to the identical WWW service (actually a clo

Re: Compilation issue: linking to openssl with absolute path?

2014-10-06 Thread Romain Rivière
Hi there, On 03/10/2014 17:03, dev wrote: >> Can OP post ./configure command line being used? Here goes: LDFLAGS=" -L/home/smokey/projects/optware/syno-x86_64/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/smokey/projects/optware/syno-x86_64/staging/opt/lib -lssl" \ ./configure \

Re: Multi interface: mis-match in number of requests sent to number of responses received

2014-10-06 Thread Guenter
On 06.10.2014 14:01, Daniel Stenberg wrote: On Mon, 6 Oct 2014, nikhil ap wrote: In certain other cases, after 200OK is processed but curl is immediately sending reset. I would also like to know why. After 2000K what? Are you talking about TCP reset? Can you please elaborate on what you mean.

Re: Can't call curl_global_init from a thread -- understanding the architecture

2014-10-06 Thread Michael Mueller
On Mon, Oct 6, 2014 at 5:22 AM, Dan Fandrich wrote: > > It's not just the libcurl code that's involved, though. If you read some of > the > other threads on this issue, there can be some subtle and unexpected effects > when other code uses the same dependencies as libcurl itself. This appears t

Re: Multi-interface: the multi-uv example doesn't work with a localhost WWW service

2014-10-06 Thread Daniel Stenberg
On Mon, 6 Oct 2014, Waldek Kozba wrote: as in the title: the multi-uv example ( http://curl.haxx.se/libcurl/c/multi-uv.html) does not download for me the content from the local WWW server (local means the example is being run on the same VM that the WWW server runs). That's strange. How is a l

Re: Multi-interface: the multi-uv example doesn't work with a localhost WWW service

2014-10-06 Thread Waldek Kozba
> > That's strange. How is a local server any different to a remote server for > libcurl? Or is it just that it is easier to trigger the problem locally as > the server is very low-latency then? > yeah, looks like that. Actually I've got it working. I compared the hiperfifo.c ( http://curl.haxx.se

[PATCH] smb/cifs (1 of 4)

2014-10-06 Thread Nagel, Bill
This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of a

[PATCH] smb/cifs (3 of 4)

2014-10-06 Thread Nagel, Bill
This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of a

[PATCH] smb/cifs (2 of 4)

2014-10-06 Thread Nagel, Bill
This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of a

[PATCH] smb/cifs (4 of 4)

2014-10-06 Thread Nagel, Bill
This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in respect of a

RE: [PATCH] smb/cifs

2014-10-06 Thread Nagel, Bill
> 8) Does smb_data.h need to be separate from smb.h? You'll note that there > re private smtp only defines and structures in smtp.h. I really like to keep these separate. These are protocol specific and don't need to be included into urldata.h. > 9) Additionally, as I mentioned in my previous e

Re: Multi-interface: the multi-uv example doesn't work with a localhost WWW service

2014-10-06 Thread Daniel Stenberg
On Mon, 6 Oct 2014, Waldek Kozba wrote: Would you like me to send the improved example Please do thanks, that'd be great. Ideally as a git patch, or a diff but I can handle a full improved example too! -- / daniel.haxx.se ---

RE: [PATCH] smb/cifs

2014-10-06 Thread Steve Holme
On Fri, 3 Oct 2014, Nagel, Bill wrote: This is a very quick email as I've just got in from work (and it's 22:15 here in the UK as I write this) and I need to eat etc... Thank you for splitting the patch up. > > 8) Does smb_data.h need to be separate from smb.h? You'll note that > > there re pr

Re: Multi interface: mis-match in number of requests sent to number of responses received

2014-10-06 Thread nikhil ap
"And by confirming you mean you saw the 200 response arrive locally from the network? " Yes I did. "And those 5 still "not processed" responses, they were really complete (ie had ending indicators according to the HTTP 1.1 spec) and ended or how do you mean "not processed" exactly? " That's right