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

host field in HTTP header is no longer limited to 31 charcters #2205

Merged
merged 2 commits into from
Dec 24, 2017

Conversation

paweljasinski
Copy link
Contributor

Fixes #2202

  • This PR is for the dev branch rather than for master.
  • This PR is compliant with the other contributing guidelines as well (if not, please describe why).
  • I have thoroughly tested my contribution.
  • No documentation changes - this is just a bug fix

see test cases in #2202

Copy link
Member

@marcelstoer marcelstoer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add comments to the code to document how you arrived at that "+ 9/6" chars logic.

No documentation changes

Not anymore - we could/should have documented the limit you just removed 😜

this is just a bug fix

Not sure if it qualifies as a bug. Limiting to a (fairly small) fixed length seems questionable, though.

@marcelstoer marcelstoer added this to the 2.1 follow-up II milestone Dec 22, 2017
@marcelstoer
Copy link
Member

I had to revert it because this

This PR is for the dev branch rather than for master.

ain't true. Please resubmit.

@paweljasinski
Copy link
Contributor Author

paweljasinski commented Dec 25, 2017 via email

eiselekd pushed a commit to eiselekd/nodemcu-firmware that referenced this pull request Jan 7, 2018
…cu#2205)

* host field in HTTP header is no longer limited to 31 charcters
* added description for magic values
eiselekd pushed a commit to eiselekd/nodemcu-firmware that referenced this pull request Jan 7, 2018
vsky279 pushed a commit to vsky279/nodemcu-firmware that referenced this pull request Sep 8, 2018
andyleap pushed a commit to andyleap/nodemcu-firmware that referenced this pull request Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

module http, invalid header in get request when hostname port are used
2 participants