teng-jie commented on pull request #255: URL: https://github.com/apache/httpcomponents-client/pull/255#issuecomment-692416462
hi~ @ok2c,I am very glad for you to reply my question. you say that sends a ping message only if the connection is known to support HTTP/2 or greater. but the source code “if (HttpVersion.HTTP_2_0.greaterEquals(protocolVersion))“, when the protocolVersion = HTTP/1.1, it always return true,so will cause sends a ping message。 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
