Skip Menu |
 

This queue is for tickets about the HTTP-Request-FromCurl CPAN distribution.

Report information
The Basics
Id: 132316
Status: open
Priority: 0/
Queue: HTTP-Request-FromCurl

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.14
  • 0.15
Fixed in: (no value)



Subject: Fedora 31: t/curl-multi.t fails
Download (untitled) / with headers
text/plain 2.2k
On Fedora 31 (with curl/7.66.0) the test suite fails: ... # Failed test '--verbose -s $url $url?foo=bar' # at t/TestCurlIdentity.pm line 305. # Structures begin differing at: # $got->{Cookie} = Does not exist # $expected->{Cookie} = 'log-server-httponly=supersecret; log-server=shazam2' # $VAR1 = [ # { # "User-Agent" => "curl/7.66.0", # "Accept" => "*/*", # "Host" => "localhost:55397" # }, # { # "User-Agent" => "curl/7.66.0", # "Accept" => "*/*", # "Host" => "localhost:55397", # "Cookie" => "log-server-httponly=supersecret; log-server=shazam2" # } # ]; # Failed test 'We create (almost) the same headers with LWP' # at t/TestCurlIdentity.pm line 174. # Structures begin differing at: # $got->[5] = Does not exist # $expected->[5] = 'Cookie: log-server-httponly=supersecret; log-server=shazam2' # Request: # GET /?foo=bar HTTP/1.1 # Accept: */* # Host: localhost:55397 # User-Agent: curl/7.66.0 # # # use strict; # use LWP::UserAgent; # # my $ua = LWP::UserAgent->new('send_te' => '0'); # my $r = HTTP::Request->new( # 'GET' => 'http://localhost:55397/?foo=bar', # [ # 'Accept' => '*/*', # 'Host' => 'localhost:55397', # 'User-Agent' => 'curl/7.66.0' # ], # # ); # my $res = $ua->request( $r, ); # Failed test 'We create (almost) the same headers with HTTP::Tiny' # at t/TestCurlIdentity.pm line 174. # Structures begin differing at: # $got->[4] = Does not exist # $expected->[4] = 'Cookie: log-server-httponly=supersecret; log-server=shazam2' # Request: # GET /?foo=bar HTTP/1.1 # Accept: */* # User-Agent: curl/7.66.0 # # # use strict; # use HTTP::Tiny; # # my $ua = HTTP::Tiny->new('verify_SSL' => '1'); # my $res = $ua->request( # 'GET' => 'http://localhost:55397/?foo=bar', # { # headers => { # 'User-Agent' => 'curl/7.66.0', # 'Accept' => '*/*' # }, # # }, # ); ... (etc) ... # Looks like you failed 12 tests of 48. t/curl-multi.t ............. Dubious, test returned 12 (wstat 3072, 0xc00) Failed 12/48 subtests
Download (untitled) / with headers
text/plain 457b
Am Fr 10. Apr 2020, 02:49:07, SREZIC schrieb: Show quoted text
> On Fedora 31 (with curl/7.66.0) the test suite fails: > > ...
This is also weird, because the Debian version (curl/7.64.0) passes. I suspect some error/difference in handling the requests - maybe curl keeps cookies persistent between the URLs since 7.65+ , but I don't see anything in the changes file. Can you please run perl -Ilib -w t/curl-multi.t and attach the output? Thank you very much, -max


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.