cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: sws bug

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Fri, 8 Aug 2003 18:14:40 +0200

"Gisle Vanem" <gvanem_at_broadpark.no> said:
 
> be made compatible for all shells? I tried:
> --data - -G | perl -e `print "%HOSTIP:%HOSTPORT/"; print "a" x 10000; print "/22";`
>
> but my ActiveState perl seems broken in this regard. From cmd or 4nt prompt:
> perl -e `print "127.0.0.1:8999";`
>
> gives me absolutely nothing ??

Silly me, the piping should be reversed. This seems to work for ActivePerl:
 perl -e "print qq(127.0.0.1:8999/); print qq(a) x 10000; print qq(/22);" | curl -v --data - -G

But then curl complains:
  curl: no URL specified!

W/o the pipe I see Perl outputs the correct string:
  perl -e "print qq(127.0.0.1:8999/); print qq(a) x 100; print qq(/22\r\n);"
  127.0.0.1:8999/aaaaaaaaaaaaaaaaa ... aaaaaa/22

What could be the problem?

--gv

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-08