Summary: | kio_http process reuse sends requests to wrong server | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | makosoft |
Component: | http | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahartmetz, faure, sven.burmeister, uwolfer |
Priority: | NOR | ||
Version: | 4.1 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
makosoft
2008-11-25 21:55:31 UTC
Very good bug report, thanks a lot! This is likely the source of spurious image load errors as well. Testing a cleanup of the code involved for a couple of days now, will commit if it works. (I basically forgot to review this code with my changes at the time and changed it somewhat anyway. Bad idea.) The bug is related to HTTP keep-alive connection handling. For details read the bug report :) SVN commit 894092 by ahartmetz: Remove the PrevRequest structure and data members again and instead use the server connection state and the current request information where each makes sense. I left the auth code as is because when it is invoked the server state is filled in so the information is there then. Changes include updating the server state only when a request is actually sent, as opposed to getting the response from the disk cache. Regressions in corner cases (say proxy+HTTPS+proxy auth) are possible. BUG:176093, 171256 M +64 -57 http.cpp M +35 -40 http.h WebSVN link: http://websvn.kde.org/?view=rev&revision=894092 |