Re: Access gmail with pycurl.

2021-07-01 Thread Hongyi Zhao via curl-library
On Fri, Jul 2, 2021 at 12:16 PM Ray Satiro via curl-library wrote: > > On 6/29/2021 12:33 AM, Hongyi Zhao via curl-library wrote: > > On Tue, Jun 29, 2021 at 5:55 AM Daniel Stenberg wrote: > > On Sat, 26 Jun 2021, Hongyi Zhao via curl-library wrote: > > I noticed th

Re: Access gmail with pycurl.

2021-06-28 Thread Hongyi Zhao via curl-library
On Tue, Jun 29, 2021 at 5:55 AM Daniel Stenberg wrote: > > On Sat, 26 Jun 2021, Hongyi Zhao via curl-library wrote: > > > I noticed that libcurl, hence pycurl supports IMAP and IMAPS, so I want to > > know if I can use it to retrieve/remove emails from my Gmail account? >

Access gmail with pycurl.

2021-06-26 Thread Hongyi Zhao via curl-library
Hi here, I noticed that libcurl, hence pycurl supports IMAP and IMAPS, so I want to know if I can use it to retrieve/remove emails from my Gmail account? Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552

Re: Git protocol support of (lib)curl.

2021-01-05 Thread Hongyi Zhao via curl-library
On Wed, Jan 6, 2021 at 11:51 AM Jeffrey Walton via curl-library wrote: > > On Tue, Jan 5, 2021 at 7:36 PM Hongyi Zhao via curl-library > wrote: > > > > $ curl git://git.sv.gnu.org/emacs.git > > curl: (1) Protocol "git" not supported or disabled in libc

Re: Git protocol support of (lib)curl.

2021-01-05 Thread Hongyi Zhao via curl-library
On Wed, Jan 6, 2021 at 8:57 AM Dan Fandrich via curl-library wrote: > > On Wed, Jan 06, 2021 at 08:29:21AM +0800, Hongyi Zhao via curl-library wrote: > > $ curl git://git.sv.gnu.org/emacs.git > > curl: (1) Protocol "git" not supported or disabled in libcurl >

Git protocol support of (lib)curl.

2021-01-05 Thread Hongyi Zhao via curl-library
$ curl git://git.sv.gnu.org/emacs.git curl: (1) Protocol "git" not supported or disabled in libcurl So, any hints for the git protocol support of (lib)curl? Regards, -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Polytechnic University of Science and Technology

Re: Does libcurl support all streaming relative protocols, e.g., RTP/RTCP/RTSP and so on?

2020-12-31 Thread Hongyi Zhao via curl-library
On Fri, Jan 1, 2021 at 10:08 AM René Berber via curl-library wrote: > > On 12/31/2020 6:14 PM, Hongyi Zhao via curl-library wrote: > > > On Fri, Jan 1, 2021 at 7:51 AM Daniel Stenberg wrote: > >> > >> On Thu, 31 Dec 2020, Hongyi Zhao via curl-library wrot

Re: Does libcurl support all streaming relative protocols, e.g., RTP/RTCP/RTSP and so on?

2020-12-31 Thread Hongyi Zhao via curl-library
On Fri, Jan 1, 2021 at 7:51 AM Daniel Stenberg wrote: > > On Thu, 31 Dec 2020, Hongyi Zhao via curl-library wrote: > > > I only see the RTSP protocol is supported by libcurl, but for streaming > > media relative protocols, I also learned that the RTP/RTCP/RTSP protocols >

Does libcurl support all streaming relative protocols, e.g., RTP/RTCP/RTSP and so on?

2020-12-31 Thread Hongyi Zhao via curl-library
Hi, I noticed the following description on the curl's GitHub repo: A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP,

Re: The strange connect behavior of curl via socks5 proexy to different websites.

2020-09-04 Thread Hongyi Zhao via curl-library
On Sat, Sep 5, 2020 at 6:29 AM Daniel Stenberg wrote: > > On Sat, 5 Sep 2020, Hongyi Zhao via curl-library wrote: > > > werner@X10DAi-01:~$ curl -vI -x socks5://127.0.0.1:9050 > > https://www.baidu.com > > ... > > > As you can see, the connection to goog

The strange connect behavior of curl via socks5 proexy to different websites.

2020-09-04 Thread Hongyi Zhao via curl-library
Hi, On Ubuntu 20.04, I run Tor which listens on 127.0.0.1:9050. The curl testings for using Tor's socks5 proxy are done as following: werner@X10DAi-01:~$ curl -vI -x socks5://127.0.0.1:9050 https://www.google.com * Trying 127.0.0.1:9050... * TCP_NODELAY set * SOCKS5 communication to

Re: error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.

2020-08-03 Thread Hongyi Zhao via curl-library
On Mon, Aug 3, 2020 at 1:18 PM Petr Pisar via curl-library wrote: > > On Mon, Aug 03, 2020 at 06:27:44AM +0800, Hongyi Zhao via curl-library wrote: > > Hi, > > > > When I use `git push' to upload the commit which includes large files, > > the following error is

error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.

2020-08-02 Thread Hongyi Zhao via curl-library
Hi, When I use `git push' to upload the commit which includes large files, the following error is occurring: $ git push Enumerating objects: 19, done. Counting objects: 100% (19/19), done. Delta compression using up to 88 threads Compressing objects: 100% (15/15), done. Writing objects: 100%

Re: pycurl denpendent on libcurl4-openssl-dev or libcurl4-gnutls-dev.

2020-06-29 Thread Hongyi Zhao via curl-library
Got it. Thanks a lot, I'll try to discuss it on ubuntu-us...@lists.ubuntu.com. On Mon, Jun 29, 2020 at 2:57 PM Daniel Stenberg wrote: > > On Mon, 29 Jun 2020, Hongyi Zhao via curl-library wrote: > > > On Ubuntu 20.04 with python 3.8.3, I try to install pycurl and find >

pycurl denpendent on libcurl4-openssl-dev or libcurl4-gnutls-dev.

2020-06-28 Thread Hongyi Zhao via curl-library
Hi, On Ubuntu 20.04 with python 3.8.3, I try to install pycurl and find that it depends on libcurl4-openssl-dev or libcurl4-gnutls-dev for building some c extensions. As a result, I must first run the following command to install the dependencies: $ sudo apt-get install libcurl4

Re: cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)

2020-06-25 Thread Hongyi Zhao via curl-library
Hongyi Zhao 于2020年6月25日周四 上午9:08写道: > > Hi, > > On Ubuntu 20.04, I want to compile zeal with the following steps: > > ``` > $ sudo apt-get build-dep zeal > $ sudo apt-get install qtwebengine5-dev > $ git clone https://github.com/zealdocs/zeal.git zeal.git > $ cd zeal.git > $ mkdir build && cd

cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)

2020-06-24 Thread Hongyi Zhao via curl-library
Hi, On Ubuntu 20.04, I want to compile zeal with the following steps: ``` $ sudo apt-get build-dep zeal $ sudo apt-get install qtwebengine5-dev $ git clone https://github.com/zealdocs/zeal.git zeal.git $ cd zeal.git $ mkdir build && cd build $ cmake .. cmake: /usr/local/lib/libcurl.so.4: no

Re: Let libcurl return the full list of mirror's URLs for a downloading file.

2020-06-21 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月22日周一 上午1:29写道: > > On Sun, 21 Jun 2020, Hongyi Zhao via curl-library wrote: > > > As you can see, it seems libcurl returns the random URL for the target file. > > I would rather say it like this: > > The *web server* returns a random URL for th

Let libcurl return the full list of mirror's URLs for a downloading file.

2020-06-21 Thread Hongyi Zhao via curl-library
Hi, See my following testings: werner@X10DAi-01:~/Desktop$ curl -sv --head http://mirrors.ctan.org/systems/texlive/Images/texlive2020-20200406.iso |& grep ^Location: Location: http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/texlive2020-20200406.iso werner@X10DAi-01:~/Desktop$

Re: Curl's network performance is slower than IDM.

2020-06-20 Thread Hongyi Zhao via curl-library
Hongyi Zhao 于2020年6月20日周六 上午8:40写道: > > > > Patrick Schlangen 于2020年6月19日周五 上午4:31写道: >> >> Hi, >> >> interesting thread. >> >> Am 18.06.2020 um 12:09 schrieb Daniel Stenberg via curl-library >> : >> >> The question is then of course still what IDM does that makes it that much >> faster or

Re: Curl's network performance is slower than IDM.

2020-06-19 Thread Hongyi Zhao via curl-library
Patrick Schlangen 于2020年6月19日周五 上午4:31写道: > Hi, > > interesting thread. > > Am 18.06.2020 um 12:09 schrieb Daniel Stenberg via curl-library < > curl-library@cool.haxx.se>: > > The question is then of course still what IDM does that makes it that much > faster or perhaps what curl should do to

Re: Curl's network performance is slower than IDM.

2020-06-18 Thread Hongyi Zhao via curl-library
Hongyi Zhao 于2020年6月19日周五 上午7:28写道: > > Daniel Stenberg 于2020年6月19日周五 上午5:30写道: > > > > On Thu, 18 Jun 2020, Patrick Schlangen wrote: > > > > > Interestingly, IDM showed max 13.5 MB/s with an average total download > > > time > > > of 93 seconds, while curl showed max 12.0 MB/s and took 86

Re: Curl's network performance is slower than IDM.

2020-06-18 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月19日周五 上午5:30写道: > > On Thu, 18 Jun 2020, Patrick Schlangen wrote: > > > Interestingly, IDM showed max 13.5 MB/s with an average total download time > > of 93 seconds, while curl showed max 12.0 MB/s and took 86 seconds for the > > same file on average. So actually curl was

Re: Curl's network performance is slower than IDM.

2020-06-17 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月17日周三 下午10:58写道: > > On Tue, 16 Jun 2020, Hongyi Zhao wrote: > > > the IDM latest version is run from within wine [1] git master version > > compiled by myself on Ubuntu 20.04. > > Oh ok, wow. > > > the results is the same: IDM beats curl. > > Presumably also by a very

Re: Curl's network performance is slower than IDM.

2020-06-16 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月16日周二 下午10:50写道: > > On Tue, 16 Jun 2020, Hongyi Zhao wrote: > > >> Are these transfer speeds somewhat stable and reliable in repeated tests? > > > > I've conducted several tests at different times against this URL using both > > curl and IDM, though the speeds may vary

Re: Curl's network performance is slower than IDM.

2020-06-15 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月16日周二 上午5:44写道: > > On Sun, 14 Jun 2020, Hongyi Zhao via curl-users wrote: > > > On Ubuntu 20.04 > > I presume that's curl 7.68.0 ? > > > $ curl -L -x socks5h://127.0.0.1:10119 > > http://speedtest-ny.turnkeyinternet.net/1000mb.bin >/dev/null > > % Total% Received %

Re: Curl's network performance is slower than IDM.

2020-06-15 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年6月16日周二 上午5:44写道: > > On Sun, 14 Jun 2020, Hongyi Zhao via curl-users wrote: > > > On Ubuntu 20.04 > > I presume that's curl 7.68.0 ? $ curl --version curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0

Curl's network performance is slower than IDM.

2020-06-13 Thread Hongyi Zhao via curl-library
Hi, On Ubuntu 20.04, I tested the network performance with curl and IDM (https://www.internetdownloadmanager.com/) running within wine for comparison. The testings are based on the same file through the same local socks5 proxy using the proxy dns method. For IDM, the downloading is done with one

Re: use libcurl to obtain the real-time speed of git clone.

2020-02-18 Thread Hongyi Zhao via curl-library
Daniel Stenberg 于2020年2月18日周二 下午3:03写道: > > On Tue, 18 Feb 2020, Hongyi Zhao via curl-library wrote: > > > The git is based on libcurl. I want to know whether can I use libcurl to > > obtain the real-time speed of git clone. > > Yes, git uses libcurl when you clone/che

use libcurl to obtain the real-time speed of git clone.

2020-02-17 Thread Hongyi Zhao via curl-library
Hi, The git is based on libcurl. I want to know whether can I use libcurl to obtain the real-time speed of git clone. Regards -- Hongsheng Zhao Institute of Semiconductors, Chinese Academy of Sciences GnuPG DSA: 0xD108493 ---

Re: ImportError: pycurl: libcurl link-time version (7.64.0) is older than compile-time version (7.65.3)

2019-12-12 Thread Hongyi Zhao via curl-library
Ray Satiro via curl-library 于2019年12月11日周三 上午8:12写道: > > On 12/10/2019 9:03 AM, Hongyi Zhao via curl-library wrote: > > I use pipenv to install pycurl for my project: > > > > $ pipenv install pycurl > > > > Then when I run the project, I meet the followin

ImportError: pycurl: libcurl link-time version (7.64.0) is older than compile-time version (7.65.3)

2019-12-10 Thread Hongyi Zhao via curl-library
I use pipenv to install pycurl for my project: $ pipenv install pycurl Then when I run the project, I meet the following error: --- $ speed-check.sh Traceback (most recent call last): File

Obtain all the content from https://free-ss.site/ by pycurl

2019-09-22 Thread Hongyi Zhao via curl-library
Hi, I try to obtain the content from https://free-ss.site/ by pycurl/requests. But it seems that the above tools cannot get all of the content as the stuff obtained by the firefox. Is is possible to get all of the content just as the results via firefox for this website by using pycurl?