[ https://issues.apache.org/jira/browse/DISPATCH-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16494008#comment-16494008 ]
ASF subversion and git services commented on DISPATCH-941: ---------------------------------------------------------- Commit c728d7f41c78ccc8db127b87c11470a5b9bc8c82 in qpid-dispatch's branch refs/heads/master from [~aconway] [ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=c728d7f ] DISPATCH-941: Router is returning incorrect files from http get Bug in http-libwebsockets code. A partial HTTP handler such as we have needs to call lws_callback_http_dummy() to fill in default HTTP behaviours. Without that the LWS library was not properly informed of termination of HTTP transactions causing confusion if a connection was re-used. > Router is returning incorrect files from http get requests. > ----------------------------------------------------------- > > Key: DISPATCH-941 > URL: https://issues.apache.org/jira/browse/DISPATCH-941 > Project: Qpid Dispatch > Issue Type: Bug > Components: Routing Engine > Affects Versions: 1.0.1 > Reporter: Ernest Allen > Priority: Major > Fix For: Backlog > > Attachments: CaptureApache_angular.PNG, CaptureApache_angular.PNG, > CaptureApache_woff2.PNG, CaptureApache_woff2.PNG, CaptureApache_woff2.PNG, > CaptureDispatch_angular.PNG, CaptureDispatch_angular.PNG, > CaptureDispatch_woff2.PNG > > > When http requests are made from a Windows machine, the http response headers > appear to be mixed up or for a different request. For example, when the > browser requests the file OpenSans-Regular-webfont.woff2, the response has a > content-type of text/javascript and an incorrect content-length. Here is the > bad response: !CaptureDispatch_woff2.PNG! > When the same browser on the same machine requests the same file from Apache > tomcat, the response is correct: > !CaptureApache_woff2.PNG! > Another example: This time the request is for the javascript file angular.js. > Here is the bad response from the router: > !CaptureDispatch_angular.PNG! > > And here is the correct response from tomcat for the same file: > !CaptureApache_angular.PNG! > The incorrect content-types and content-lengths returned by the router lead > me to believe that the responses are getting mixed up. > Possibly important note: Which requests are mixed up varies each time I > reload the page. Sometimes files that failed on a previous page load will > come down just fine. It doesn't always happen on the same files. > This happens for all browsers I've tried on Windows. It does not happen for > any browser when the request comes from my linux box. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org