[PATCH] HTTP ioslave keeping POST data when it shouldn't

Best, Jan-Pascal van j.p.vanbest at tbm.tudelft.nl
Wed Jun 19 18:05:40 BST 2002


On Thursday 13 June 2002 19:37, Dawit A. wrote:
> On Thursday 13 June 2002 09:42, Best, Jan-Pascal van wrote:

[persisten connections patch]
> > Would it be a good idea to put a flag in HTTPRequest
> > that orders resetConnectionSettings to leave alone
> > m_bufPOST? This flag could be set by the appropriate DAV member
> > functions of HTTPProtocol and also by readHeader(), when it
> > receives a 401 or 407. After use, it is reset by
> > resetConnectionSettings() and also in resetSessionSettings().
> >
> > What do you think?
>
> Come to think of it you are correct this does not work for HTTP at all
> either if the connection with the site has to be re-established before
> posting the data!  I now know why I originally moved it into
::readHeader
> :)  I will fix this the correct way.  There is no need for yet another
> flag...

> This should be fixed now.  Please try it and let me know if it 
> works for you.
Looks like it does. I tried only superficially, as at the moment I'm
abroad for a conference. I'll be back next week for a better look.

Cheers

Jan-Pascal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2965 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020619/0828b211/attachment.bin>


More information about the kfm-devel mailing list