cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1396 cURL ignores named services

From: Peter Waller <pwaller_at_users.sf.net>
Date: Tue, 08 Jul 2014 17:02:23 +0000

---
** [bugs:#1396] cURL ignores named services**
**Status:** open
**Created:** Tue Jul 08, 2014 05:02 PM UTC by Peter Waller
**Last Updated:** Tue Jul 08, 2014 05:02 PM UTC
**Owner:** nobody
cURL does not respect named services. In fact, it seems to ignore any non-numeric string passed after the : in the hostname, and revert to port 80.
On Ubuntu 12.04 and 14.04, if I curl for example:
$ curl localhost:discard/
I would expect for it to attempt to connect to port 9 (according to man `5 services` and the contents of /etc/services). Instead, it exits with the error:
curl: (7) Failed to connect to localhost port 80: Connection refused
Should I expect this to work?
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-07-08

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET