Re: Phantom socket with threaded resolver

2020-10-16 Thread Sean Miller via curl-library
> You can't and you shouldn't. libcurl doesn't tell the application when the > DNS  > resolution is done (or even if DNS resolution is at all performed). You can > still attempt to detect it, but there's no promise it will work. Ack, thanks. For future reference, my solution was to do the

Re: Phantom socket with threaded resolver

2020-10-09 Thread Sean Miller via curl-library
> (This might be a varation of this issue: > https://github.com/curl/curl/issues/5747 ) Yes, I think you're correct. I looked for an existing issue but did not find this one. > That's correct, because it isn't a regular socket. It's a socketpair. > CURLMOPT_SOCKETFUNCTION should get told about

Phantom socket with threaded resolver

2020-10-09 Thread Sean Miller via curl-library
Hello again, libcurl experts. I'm using libcurl's threaded resolver. A trimmed log excerpt follows: 19:39:19,837 DEBUG [libcurl_multi_wrapper] - adding easy handle 19:39:19,837 DEBUG [http_client] - on_libcurl_multi_timer(timeout_ms=0) 19:39:19,837 DEBUG [http_client] - on_timeout 19:39:19,837

Re: Static linking with ssl

2016-09-19 Thread Sean Miller via curl-library
> I get lots of linking errors (missing symbols) – not when compiling curl, but > when I try to statically link libcurl to my application. The missing symbols > are all SSL related (I can dig them out if is of any use). Statically linking doesn't include libcurl's own dependencies. Find out

Re: Incomplete HTTP post body

2016-08-05 Thread Sean Miller via curl-library
On Friday, August 5, 2016 12:49 AM, Daniel Stenberg wrote: > Please don't top-post. I can't remember the last time I used e-mail like this. Two decades, maybe. It's cool. Have to do it manually, though. >> For a large request (>64 KiB) with a timeout of 5 sec, I see libcurl

Re: Incomplete HTTP post body

2016-08-04 Thread Sean Miller via curl-library
hat my mistake might have been, I'd immensely appreciate that. In the meantime, I'm going to try to pare down my code to a minimal reproducible example... Regards,Sean M. On Thursday, August 4, 2016 12:24 AM, Daniel Stenberg <dan...@haxx.se> wrote: On Wed, 3 Aug 2016, Sean Miller

Incomplete HTTP post body

2016-08-03 Thread Sean Miller via curl-library
I'm using libcurl-7.19.7 to post JSON to an HTTP server. I'm aware this is an old version. I'm using the multi interface, and I based my implementation on the example given in asiohiper.cpp. I worked around bug #62. Problem: I observe incomplete transmission of request bodies larger than about