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-1721292 ] socks testcase patch

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 18 May 2007 17:22:45 -0700

Bugs item #1721292, was opened at 2007-05-18 06:03
Message generated for change (Comment added) made by dfandrich
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1721292&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: libcurl
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Black (grooverdan)
Assigned to: Daniel Stenberg (bagder)
Summary: socks testcase patch

Initial Comment:
as per known bugs 23c you wanted test cases for socks.

Attached is a rough first draft.

need to do something heaps better with the ssh pid for the socks.

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

>Comment By: Dan Fandrich (dfandrich)
Date: 2007-05-18 17:22

Message:
Logged In: YES
user_id=236775
Originator: NO

This is a neat approach--I'd forgotten than SSH supports SOCKS. Might as
well leverage the existing sshd support...

Here are some specific comments about the patch:

The test file starts curl using --socks5 but it appears that at least some
versions of ssh (corresponding to versions of sshd which the test harness
will run with) only support SOCKS4. To be safe, the <server> section should
probably support separate socks4 and socks5 entries so socks5 tests can be
skipped (in the future) when ssh doesn't support it (I don't think you need
a new corresponding port number). The <keywords> should also mention
SOCKS4. The <data> section is missing carriage return line-ending
characters. The URL in the <command> section currently contains the wrong
test number. runsocksserver should return (0,0) on error, not -1.

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

Comment By: Daniel Black (grooverdan)
Date: 2007-05-18 06:07

Message:
Logged In: YES
user_id=612034
Originator: YES

also adds /usr/lib64/misc to sshserver.pl as thats were the sftp-server
plugin is on gentoo 64 bit machines.

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

Comment By: Daniel Black (grooverdan)
Date: 2007-05-18 06:04

Message:
Logged In: YES
user_id=612034
Originator: YES

File Added: test700

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1721292&group_id=976
Received on 2007-05-19

These mail archives are generated by hypermail.

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

File upload with ASP.NET