Hi Michael,

On Monday, July 10, 2017 at 9:01:00 AM UTC+2, Michael Pisula wrote:
>
> As far as I saw from the source code, it could point to a problem with 
> header parsing, but I am not exactly sure what could cause the problem.
>

The place in the code is actually misleading, as it the error is only 
prepared at that place after all headers have been read. The error will 
only be reported, however, only later on if the connection is closed while 
there's still data expected on the connection. That will be the case if a 
`Content-Length` was specified but less than the given number of bytes was 
read before the connection was closed, or if `chunked` transfer encoding 
was used, if the connection was closed before the final empty chunk was 
sent.

You could set `akka.http.server.log-unencrypted-network-bytes = 1000` to 
see all data that was sent on the connection which might help with 
debugging the issue.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to