"Companies Using curl .."

2021-03-02 Thread Gisle Vanem via curl-library
Something for: https://curl.se/docs/companies.html 'Ashampoo Technology GmbH Co. KG' is using libcurl via 'ash_libcurl.dll'. Ref: https://www.pconlife.com/viewfileinfo/ash-libcurl-dll/ Found out since I just installed Ashampoo Backup and was quite impressed with it. -- --gv

Re: Feature-Request: sendfile(2)

2021-02-25 Thread Gisle Vanem via curl-library
Emil Engler wrote: However implementing this syscall also raises some problems, including limited support. AFAIK only Linux and FreeBSD support this syscall (maybe even macOS as it inherited a lot from FreeBSD). FYI, Windows has a similar 'TransmitFile()' function:

Re: libcurl hang

2020-10-21 Thread Gisle Vanem via curl-library
MS wrote: 1) Using libcurl without a proxy, the verbose options shows "Trying ip address" and nothing else. If restricted to IPv4 it shows only one line. If IPv6 is permitted, I get a first response that network is not reachable and then a second response "Trying ..." which hangs. Some

Re: static libcurl with clang

2020-03-22 Thread Gisle Vanem via curl-library
Ray Satiro wrote: most of that but you may have to specify some on your own such as ws2_32. If the functions it can't find are CRT functions then that is an issue with your project and not libcurl. Maybe it's an idea to add something like: #if defined(_MSC_VER) && defined(CURL_STATICLIB) &&

Re: Missing bcrytp.dll when running Watcom compiled Libcurl program on XP.

2019-07-03 Thread Gisle Vanem via curl-library
Dan Gribble wrote: I have copied libcrypto-1_1.dll and libssl-1_1.dll (from openssl 1.1.1c) to my application directory in order to run the compiled application, but other than that I have not done anything else. You have to rebuild OpenSSL with a '_WIN32_WINNT' value suitable for Win-XP

Re: curl turns 21 years today

2019-03-20 Thread Gisle Vanem via curl-library
Daniel Stenberg wrote: Today it is exactly 21 years since the first curl version was released!  https://daniel.haxx.se/blog/2019/03/20/happy-21st-curl/ BTW. Incidently, today is also 'Spring Equinox' which was also true in 1998:

Re: docs: curl-related videos

2019-01-31 Thread Gisle Vanem via curl-library
Daniel Stenberg wrote: If you know of other video presentations that would be suitable to add to this page, please let us know. A more recent 2017 Gource Visualization of curl's evolution on GitHub: https://www.youtube.com/watch?v=JBcwjycnZE0 There are others too. Search for "gource

Re: Successfully build after 2 week struggle but...!

2019-01-25 Thread Gisle Vanem via curl-library
Himanshu Rastogi wrote: My configuration: *Included Library:* /libssl, libssh2, zlibwapi, libcrypo, nghttp2, Ws2_32, Wldap32, Normaliz, winmm./ /*CFLAGS : /*MT/ *Preprocessor macro: *CURL_STATICLIB *Compiler: VC15* *BUT!* After all these configuration it still show error messages like: *BUILD

[Win32] Fix for compiling with lwIP

2018-10-22 Thread Gisle Vanem via curl-library
I tried creating a Pull-Request on Github. But got a: Pull request creation failed. Validation failed: A pull request already exists for curl:lwip-patch. So here it is the old way: Compiling on Windows (`_WIN32`) with `USE_LWIPSOCK`, causes this error: curl_rtmp.c(223,3): error: use of

Re: Using A Different Socket For Requests

2018-08-22 Thread Gisle Vanem via curl-library
Isaiah Banks wrote: I'm sure this question has been asked before, but in doing some online research I have not found a good answer. What I'd like to do is create a custom socket for all curl requests to go through within a web application. I'm creating this socket within Python application

Re: Retrieve all addresses mapped to specific host, not just one IP

2018-08-14 Thread Gisle Vanem via curl-library
myLC--- wrote: Prioritization (which IPs libcurl should favor) might become an issue then. "should favour" how? Based on what; that IPv6 is better/speedier than IPv4, or some addresses based on Geo-location is best? libcurl knows zero about this. It would be cool if it did though. In fact

Re: Retrieve all addresses mapped to specific host, not just one IP

2018-08-13 Thread Gisle Vanem via curl-library
myLC---wrote: at the source. Unless I'm mistaken, you are using a renamed addrinfo struct on the inside. Could it lead to problems with multiple threads, if you simply passed a pointer to that (chain of) struct(s) via curl_easy_getinfo? It's copied to an internal structure inside

Re: Retrieve all addresses mapped to specific host, not just one IP

2018-08-11 Thread Gisle Vanem via curl-library
myLC---wrote: I would like to know how we can retrieve all the IP addresses which are mapped to a host. Assuming we have the URL https://example.buzz/bingo_results/ and assuming further that there are 5 addresses mapped to this hostname: 10.0.0.11, 10.0.0.12, 10.0.0.13,

Re: Windows users! Help us test upload performance tuning?

2018-08-09 Thread Gisle Vanem via curl-library
Jan Ehrhardt wrote: Wow dude! 2 times faster than FileZilla now. Time decreased from 33.153s to 6.4 sec (same random 10 MByte file). Versus approx. 5.3 sec for curl/FTP. Using SFTP? Yes: curl.exe -k -# --write-out "speed: %%{speed_upload} bytes/sec, total-time: %%{time_total}" ^

Re: Windows users! Help us test upload performance tuning?

2018-08-09 Thread Gisle Vanem via curl-library
Daniel Stenberg wrote:  /* The upload buffer size, should not be smaller than CURL_MAX_WRITE_SIZE, as     it needs to hold a full buffer as could be sent in a write callback */ -#define UPLOAD_BUFSIZE CURL_MAX_WRITE_SIZE +#define UPLOAD_BUFSIZE (512*1024) Wow dude! 2 times faster than

Re: Windows users! Help us test upload performance tuning?

2018-08-09 Thread Gisle Vanem via curl-library
Jan Ehrhardt wrote: 33.153s vs 5.4s for a 10 MByte file. Did you time how long Filezilla takes for the same action? Filezilla squeezes quite a lot over sftp-connections... 11.4 sec!! From the "About" box: Version: 3.31.0 Build information: Compiled for:

Re: Windows users! Help us test upload performance tuning?

2018-08-08 Thread Gisle Vanem via curl-library
Jan Ehrhardt wrote: I ended up with a Windows port of lftp, launched from a bash script. Curl sftp did resume, but was terribly slow. I also just tested with 'curl sftp//:' with the latest libssh2 and the new 'SIO_IDEAL_SEND_BACKLOG_QUERY' option. 'sftp://' is still 6 times slower than ftp

curl / libcurl CHM-file

2018-01-24 Thread Gisle Vanem via curl-library
I've created a GNU-makefile to generate a single Compressed HTML file (curl.chm) from all 'curl/docs/*.1' and 'curl/libcurl/*.3' files. It's here (curl-roffit-chm.make): https://gist.github.com/gvanem/a50fc9457593b571d5190bdbe30fe1a4 And it uses Daniel's 'roffit' Perl-script:

AF_UNIX comes to Windows

2018-01-17 Thread Gisle Vanem via curl-library
According to this blog, AF_UNIX comes to Windows 10: https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/ This feature has no connection to the "Windows Subsystem for Linux (WSL)". (WSL already has AF_UNIX support). I see the libcurl code has most of it's test

Re: AW: Problem/Crash with libCurl Daily Snapshot and Option CURLSHOPT_SHARE and Parameter CURL_LOCK_DATA_CONNECT

2017-11-29 Thread Gisle Vanem via curl-library
Patrick Dawson wrote: static void ShareLockFunc( CURL* pHandle, curl_lock_data Data, curl_lock_access Access, void* pUseptr ) { ... } static void ShareUnlockFunc( CURL* pHandle, curl_lock_data Data, void* pUseptr ) { ... } Vanem, Gisle wrote: What are these used for? In my understanding

Re: Problem/Crash with libCurl Daily Snapshot and Option CURLSHOPT_SHARE and Parameter CURL_LOCK_DATA_CONNECT

2017-11-28 Thread Gisle Vanem via curl-library
Dawson, Patrick wrote: static void ShareLockFunc( CURL* pHandle, curl_lock_data Data, curl_lock_access Access, void* pUseptr ) { ... } static void ShareUnlockFunc( CURL* pHandle, curl_lock_data Data, void* pUseptr ) { ... } What are these used for? I assume if you compile with MSVC, that

Re: Adding QUIC support to curl

2017-10-31 Thread Gisle Vanem via curl-library
Lucas Pardue wrote: Some nice discussion going on, just wanted to bump the visibility of the curl QUIC wiki page. Whoops, the page is located at https://github.com/curl/curl/wiki/QUIC. That lists: ngtcp2 (C-library) MozQuic (C++ library) quicly (C-library) LiteSpeed QUIC client

Re: Enabled multiple SSL backends

2017-08-30 Thread Gisle Vanem via curl-library
Daniel Stenberg wrote: On Tue, 29 Aug 2017, Gisle Vanem via curl-library wrote: works perfectly. But with a "set CURL_SSL_BACKEND=cyassl" it does not:  curl: (35) SSL_connect failed with error -313: revcd alert fatal error I'm looking into it here. Okay. If you get stuck and

Re: Enabled multiple SSL backends

2017-08-29 Thread Gisle Vanem via curl-library
Daniel Stenberg wrote: To build with multiple backends, just specify all you want on the configure line. Ie "--with-ssl --with-gnutls" builds with both OpenSSL *and* GnuTLS. Tell configure which backend to use by default when built to use several, with --with-default-ssl-backend. I tried

Comments in _netrc

2017-08-02 Thread Gisle Vanem via curl-library
For testing, I needed to comment out a line in my '%HOME/_netrc' file. Like: #machine tablet-pc login foo password bar1 machine tablet-pc login foo password bar2 I was surprised to see that curl/libcurl even with this edit, a command like 'curl ftp://tablet-pc ..' would send the

smb.c and remote-time

2017-07-04 Thread Gisle Vanem via curl-library
Regarding added SMB-test in https://github.com/curl/curl/pull/1630, it's nice to see SMB is getting some focus (although I'm not able to run these tests on my StrawberryPerl). 2 problems in smb.c AFAICS: 1) '_getpid()' is not a valid function in djgpp/MSDOS. Simple fix: --- a/smb.c 2017-07-04

Re: examples in ALL libcurl option man pages!

2017-05-31 Thread Gisle Vanem via curl-library
Daniel Stenberg wrote: I'm sure there are mistakes too so keep on filing bugs when you find them! Great work. Some typos: CURLOPT_SSH_KEYDATA.3: statoc int keycb(CURL *easy, CURLOPT_SSH_KEYFUNCTION.3: statoc int keycb(CURL *easy, 's/statoc/static/g' -- --gv

Re: curl can not stop sending after it received FIN

2017-04-12 Thread Gisle Vanem via curl-library
Tanyaofeng wrote: 4.We found an issue: The file server was shut down during sending file data, the curl can’t stop sending data after it received FIN from Http Proxy Server until file data was sent finished. If this was a serious issue, it would have been fixed years ago. Use netstat (or

Re: curl/libcurl SNMP protocol support

2016-08-10 Thread Gisle Vanem via curl-library
Sergei Nikulov wrote: > curl will dump object pointed by url > snmp://example.com/common/1.3.6.1.2.1.1.3.0 > It's not just another protocol :) I once did something like this. But only for Windows-SNMP. Not very useful with libcurl either (mostly for the trace). But here it is:

Re: The "Great Firewall of China"

2016-06-18 Thread Gisle Vanem via curl-library
Dan Fandrich wrote: > I think it's ironic that not only does this protest requires loading arbitrary > Javascript from a third-party site, but it's served unencrypted and > unauthenticated and is therefore vulnerable to active manipulation by a > malicious party while in transit. Why is this so

The "Great Firewall of China"

2016-06-17 Thread Gisle Vanem via curl-library
Did you folks know that github.com is blocked by the "Great Firewall of China"? Check here: http://www.greatfirewallofchina.org/index.php?siteurl=github.com But www.haxx.se is not: http://www.greatfirewallofchina.org/index.php?siteurl=www.haxx.se So I'd urge you Daniel to consider protesting

[Patch] curl_multibyte.c

2016-05-20 Thread Gisle Vanem via curl-library
Since Github seems to have git problems at the moment, I create this issue here. While compiling lib/curl_multibyte.c with '-DUSE_WIN32_IDN' etc. I was getting: f:\mingw32\src\inet\curl\lib\memdebug.h(38): error C2054: expected '(' to follow 'CURL_EXTERN'