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 IP
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 but
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 un
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 O
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 visuali
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:
https://greenwichmeantime.com/longest-day/equinox-solstice-1
Luca Di Rocco wrote:
Of course your app will not be self contained and will require
libcurl.dll in addition other windows dll.
And most certainly 'cygwin1.dll' too. Which makes this kinda
unsafe; mixing a Watcom program with libcurl.dll etc. which
is built with CygWin 32/64.
Good luck to the
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 ('-D
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) &&
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 issue
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:
https://docs.microsoft.co
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
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'
f:\mingw32\src\inet\curl\lib\memdebug
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
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 i
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:
https://gist.git
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 Pr
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
--
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
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 p
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 it
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 stuc
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 (C-li
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 you
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 th
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 for
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:
https://github.
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 ag
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: x86_64-w64-mingw32
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 FileZi
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}" ^
sftp:
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,
fd0e:34f4:760f:5bd6:012
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 'singleipcon
33 matches
Mail list logo