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

Warning when producing an error message #55

Open
markov2 opened this issue Mar 28, 2018 · 0 comments
Open

Warning when producing an error message #55

markov2 opened this issue Mar 28, 2018 · 0 comments

Comments

@markov2
Copy link

markov2 commented Mar 28, 2018

In lib/Net/HTTP/Methods.pm line 528, you can find

die "Missing newline after chunk data: '$line'"
    if !defined($line) || $line ne "";

On an transmission error, we got

Use of uninitialized value $line in concatenation (.) or string at Net/HTTP/Methods.pm line 528.

The logic seems incorrect:

die "Missing newline after chunk data: '$line'"
   if defined $line && $line ne '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant