A command line tool and library for transferring data with URL syntax, supporting HTTP, HTTPS, FTP, FTPS, GOPHER, TFTP, SCP, SFTP, SMB, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP. libcurl offers a myriad of powerful features
Clone or download
danielgustafsson urlapi: Fix port parsing of eol colon
A URL with a single colon without a portnumber should use the default
port, discarding the colon. Fix, add a testcase and also do little bit
of comment wordsmithing.

Closes #3365
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Latest commit d8607da Dec 12, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github github/lock: auto-lock closed issues after 90 days of inactivity May 5, 2018
CMake CMake: fix MIT/Heimdal Kerberos detection Nov 29, 2018
docs THANKS: from the curl 7.62.0 cycle Dec 12, 2018
include curle: move deprecated error code to ifndef block Nov 19, 2018
lib urlapi: Fix port parsing of eol colon Dec 12, 2018
m4 configure: Fix typo in comment Nov 21, 2018
packages packages: remove old leftover files and dirs Dec 5, 2018
projects winssl: be consistent in Schannel capitalization Nov 7, 2018
scripts delta: use --diff-filter on the git diff-tree invokes Dec 11, 2018
src (lib)curl.rc: fixup for minor bugs Dec 9, 2018
tests urlapi: Fix port parsing of eol colon Dec 12, 2018
winbuild curl: enabled Windows VT Support and UTF-8 output Sep 29, 2018
.dir-locals.el Add .dir-locals and set c-basic-offset to 2. Dec 23, 2015
.gitattributes .gitattributes: make tabs in indentation a visible error Dec 6, 2018
.gitignore checksrc: add COPYRIGHTYEAR check Dec 3, 2018
.lgtm.yml CI: add lgtm.yml for tweaking lgtm.com analysis Mar 21, 2018
.mailmap URL and mailmap updates, remove an obsolete directory [ci skip] Sep 22, 2018
.travis-iconv-env.sh travis: add build with iconv enabled Feb 15, 2018
.travis.yml travis: enable COPYRIGHTYEAR extended warning Dec 3, 2018
CHANGES CHANGES: spell fix, use correct path to script Feb 7, 2017
CMakeLists.txt CMake: fix MIT/Heimdal Kerberos detection Nov 29, 2018
COPYING COPYING: it's 2018! Jan 9, 2018
GIT-INFO CHANGES.0: removed Feb 7, 2017
MacOSX-Framework includes: remove curl/curlbuild.h and curl/curlrules.h Jun 14, 2017
Makefile.am Makefile: add 'tidy' target that runs clang-tidy Oct 27, 2018
Makefile.dist build: remove the Borland specific makefiles Jun 2, 2018
README URLs: follow GitHub project rename (also Travis CI) Feb 4, 2016
README.md replace rawgit links [ci skip] Oct 12, 2018
acinclude.m4 configure: remove CURL_CONFIGURE_CURL_SOCKLEN_T Oct 25, 2018
appveyor.yml AppVeyor: remove BDIR variable that sneaked in again Oct 10, 2018
buildconf includes: remove curl/curlbuild.h and curl/curlrules.h Jun 14, 2017
buildconf.bat whitespace fixes Sep 23, 2018
configure.ac packages: remove old leftover files and dirs Dec 5, 2018
curl-config.in curl-config.in: remove dependency on bc Oct 25, 2018
libcurl.pc.in URLs: change all http:// URLs to https:// Feb 2, 2016
maketgz maketgz: delete .bak files, fix indentation Jun 15, 2018


curl logo

CII Best Practices Coverity passed Travis-CI Build Status AppVeyor Build Status Coverage Status Backers on Open Collective Sponsors on Open Collective Language Grade: C/C++

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.

libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how!

You find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms and similar. If you distribute curl binaries or other binaries that involve libcurl, you might enjoy the LICENSE-MIXING document.


If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.


Visit the curl web site for the latest news and downloads.


To download the very latest source from the Git server do this:

git clone https://github.com/curl/curl.git

(you'll get a directory named curl created, filled with the source code)


Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.


Thank you to all our backers! 🙏 [Become a backer]


Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]