Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
switch Buf from ByteBuffer to binary string storage
the serializer knows how serialize strings, but not ByteBuffer; should fix #114500
- Loading branch information
Showing
4 changed files
with
30 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
837d0f8There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You noted this commit as fixing RT #114500. It may do that but it breaks LWP::Simple. If I do a git checkout of the previous rakudo commit then the LWP::Simple test t/get-perl6-org.t works. If I then checkout your commit here and run the same test it dies with a "could not parse headers" error.
If I run tcpdump to see the packets like:
sudo tcpdump -A -s 4096 -i eth0 host perl6.org >/tmp/perl6_org_tcpdump.txt &
Then I see that the request is going out and the page is coming back, but from what my debugging could tell, on line 197 of LWP/Simple.pm a socket read is done that comes up empty so:
$resp.bytes is 0
If I don't hear back for a while, or you ask me, I guess I will eventually file an RT.
Thanks.
837d0f8There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW the LWP::Simple tests have been broken for me (with that very same error message) long before this commit.
837d0f8There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have seen LWP::Simple break with that error message for older commits when using a version of parrot that does not match (is newer) than the nqp/tools/build/PARROT_REVISION appropriate for the commit. Otherwise, for me, when the parrot version matches and I clean out the rakudo install directory, using the previous commit reliably makes the test pass and then forwarding to this commit makes it fail.