Skip to content

Conversation

@cat101
Copy link

@cat101 cat101 commented Mar 3, 2018

I found that in certain conditions, the server would respond before the last CRLF was sent and then when the arduino tried put write it would receive a connection reset

I found that in certain conditions, the server would respond before the last CRLF was sent and then when the arduino tried put write it would receive a connection reset
@fnevgeny
Copy link

fnevgeny commented Sep 8, 2023

FWIW, it's off by 4 bytes, not 1 - two CRLF's are sent after the body. And both are extraneous IMO, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html : "[...] an HTTP/1.1 client MUST NOT preface or follow a request with an extra CRLF".

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

Successfully merging this pull request may close these issues.

2 participants