We use Play framework wich based on netty in our production environment. After switching to a new version with netty 4.0.41.Final we've faced with some problems. There were a lot of '/bat-request' messages in our logs:
INFO application - Bad request from /xxx.xxx.xxx.xxx on GET /bad-request : status - 400 text is empty INFO application - Bad request from /xxx.xxx.xxx.xxx on GET /bad-request : status - 400 text is empty INFO application - Bad request from /xxx.xxx.xxx.xxx on GET /bad-request : status - 400 text is empty INFO application - Bad request from /xxx.xxx.xxx.xxx on GET /bad-request : status - 400 text is empty INFO application - Bad request from /xxx.xxx.xxx.xxx on GET /bad-request : status - 400 text is empty INFO application - Bad request from /xxx.xxx.xxx.xxx on GET /bad-request : status - 400 text is empty INFO application - Bad request from /xxx.xxx.xxx.xxx on GET /bad-request : status - 400 text is empty INFO application - Bad request from /xxx.xxx.xxx.xxx on GET /bad-request : status - 400 text is empty We added some extra logging to HttpRequestDecoder.createMessage(String[] initialLine) <https://github.com/netty/netty/blob/netty-4.0.41.Final/codec-http/src/main/java/io/netty/handler/codec/http/HttpRequestDecoder.java#L86> method through javaagent. Problem `initialLine` looks like: ["/some-real-url", "HTTP/1.1", ""] It looks like `readerIndex` at request's `ByteBuf` is misplaced but I am not sure. Any thoughts? -- You received this message because you are subscribed to the Google Groups "Netty discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/netty/76b92e8a-43d3-4f53-ad07-7990902995cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
