Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IO::Socket::INET#get() returns multiple lines #4725

Closed
p6rt opened this issue Nov 3, 2015 · 4 comments
Closed

IO::Socket::INET#get() returns multiple lines #4725

p6rt opened this issue Nov 3, 2015 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Nov 3, 2015

Migrated from rt.perl.org#126553 (status was 'resolved')

Searchable as RT126553$

@p6rt
Copy link
Author

p6rt commented Nov 3, 2015

From moznion@gmail.com

IO​::Socket​::INET#get() returns multiple line instead of a line.
This behavior is conflicted to documentation (http://doc.perl6.org/type/IO​::Socket​::INET#method_get).

Panda uses this method on here (https://github.com/tadzik/panda/blob/master/lib/Panda/Ecosystem.pm#L93-L106) so it doesn't work correctly.

Runnable code sample is here (https://gist.github.com/moznion/47323a8ae24736b28bfa).

@p6rt
Copy link
Author

p6rt commented Nov 5, 2015

From @jnthn

On Tue Nov 03 08​:15​:44 2015, moznion@​gmail.com wrote​:

IO​::Socket​::INET#get() returns multiple line instead of a line.
This behavior is conflicted to documentation
(http://doc.perl6.org/type/IO​::Socket​::INET#method_get).

Panda uses this method on here
(https://github.com/tadzik/panda/blob/master/lib/Panda/Ecosystem.pm#L93-
L106) so it doesn't work correctly.

Runnable code sample is here
(https://gist.github.com/moznion/47323a8ae24736b28bfa).

Fixed now (needed to add \r\n as an explicit separator), and S32-io/IO-Socket-INET.t covers it.

Thanks,

/jnthn

@p6rt
Copy link
Author

p6rt commented Nov 5, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 5, 2015

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Nov 5, 2015
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant