cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2817904 ] Tests 20 and 507 fail with Deutsche Telekom as ISP

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 07 Jul 2009 09:52:22 +0000

Bugs item #2817904, was opened at 2009-07-07 11:49
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2817904&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: name resolving/DNS
Group: None
Status: Open
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Elias Pipping (pipping)
>Assigned to: Daniel Stenberg (bagder)
Summary: Tests 20 and 507 fail with Deutsche Telekom as ISP

Initial Comment:
$ sudo perl ./runtests.pl -v -a 20 507
********* System characteristics ********
* curl 7.19.5 (x86_64-pc-linux-gnu)
* libcurl/7.19.5 OpenSSL/0.9.8k zlib/1.2.3
* Features: Largefile NTLM SSL libz
* Host: knoten
* System: Linux knoten 2.6.30 #1 SMP Wed Jun 10 19:46:09 CEST 2009 x86_64
GNU/Linux
* Server SSL: OFF
* libcurl SSL: ON
* libcurl debug: OFF
* valgrind: OFF
* HTTP IPv6 OFF
* FTP IPv6 OFF
* HTTP port: 8990
* FTP port: 8992
* FTP port 2: 8995
* TFTP port: 8997
* SCP/SFTP port: 8999
* SOCKS port: 9000
* SSL library: OpenSSL
* Libtool lib: OFF
*****************************************
* starts no server
test 020...[attempt connect to non-existing host name]
../src/curl --output log/curl20.out --include --verbose --trace-time
non-existing-host.haxx.se. >>log/stdout20 2>>log/stderr20

curl returned 0, 6 was expected
 exit FAILED
startnew: perl -I. ./httpserver.pl -p .http.pid 8990
CMD; ../src/curl --max-time 13 --output log/verifiedserver --insecure --silent
--verbose --globoff "http://127.0.0.1:8990/verifiedserver" 2>log/verifyhttp
RUN: HTTP server is now running PID 28485
* pid http => 28485 28485
test 507...[multi interface get with non-existing host name]
./libtest/lib507 http://non-existing-host.haxx.se/ >>log/stdout507
2>>log/stderr507

lib507 returned 0, 6 was expected
 exit FAILED
* kill pid for http => 28485
RUN: Test server pid 28485 signalled to die
TESTDONE: 0 tests out of 2 reported OK: 0%
TESTFAIL: These test cases failed: 20 507
TESTDONE: 2 tests were considered during 3 seconds.
$

$ curl -V
curl 7.19.5 (x86_64-pc-linux-gnu) libcurl/7.19.5 OpenSSL/0.9.8k zlib/1.2.3
Protocols: tftp ftp telnet dict http file https ftps
Features: Largefile NTLM SSL libz
$

Both test 20 and 507 rely on having a non-existing hostname not resolve. That doesn't work if your ISP is Deutsche Telekom, as is the case for me, because they'll redirect you to a page that says "What you're looking for doesn't exist".

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2009-07-07 11:52

Message:
I don't see how this is a bug in curl, it is a bug in your ISP's messed up
DNS setup. What exactly are you suggesting curl should do about this?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2817904&group_id=976
Received on 2009-07-07

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET