On Tue, 2018-02-20 at 12:55 -0700, Gary Gregory wrote:
> Hi All:
> 
> I am debugging a use case where my HTTP server receives junk it
> seems:
> 
> org.apache.http.ProtocolException: Invalid request line:  4 ւ
> HTTP/1.1   /logon   137.134.250.10 󿠘rsmob.rocketsoftware.com  ہ       
> application/json
> cache-control   no-cache
> Postman-Token  $8c44259f-5e7c-47eb-ba73-2146e791b82f
> PostmanRuntime/7.1.1    */*    rsmob.rocketsoftware.com
> gzip, deflate    44
>       at
> org.apache.http.impl.nio.codecs.AbstractMessageParser.parse(AbstractM
> essageParser.java:209)
> ~[httpcore-nio-4.4.9.jar:4.4.9]
> 
> The square boxes I am seeing are not really helpful. I wonder if we
> should
> replace non-printable characters with a hex string like "0x00",
> "0x01", and
> so on. Or "\u0000", "\u0001".
> 
> This might be more helpful than asking customer to record traffic in
> Wireshark or to re-run with debug logging.
> 
> Thoughts?
> 
> Gary

Sounds reasonable. We might also want to put a limit on the length of
the resultant error message.

Cheers

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to