Review Request: [PATCH] Make KIO::Scheduler correctly re-use ioslaves that have been put on hold...
Dawit Alemayehu
adawit at kde.org
Tue Jan 4 09:38:04 GMT 2011
> On 2011-01-04 09:12:13, Andrea Diamantini wrote:
> > /trunk/KDE/kdelibs/kio/kio/scheduler.cpp, line 905
> > <http://svn.reviewboard.kde.org/r/6271/diff/1/?file=43482#file43482line905>
> >
> > typo?
Ahh... yes indeed. Fixed!
- Dawit
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6271/#review9505
-----------------------------------------------------------
On 2011-01-04 05:51:44, Dawit Alemayehu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6271/
> -----------------------------------------------------------
>
> (Updated 2011-01-04 05:51:44)
>
>
> Review request for kdelibs.
>
>
> Summary
> -------
>
> The patch attempts to fix the following two oustanding problems in KIO::Scheduler that have been around for a while (see the possibly related bug reports in the Bugs section above):
>
> #1. Set the m_checkOnHold flag to true every time Scheduler::publishSlaveOnHold is invoked. Right now that flag is only set to true when an instance of KIO::Scheduler is created. This results in the flag never being true after the first ioslave has been put on hold and reused unless the programmer explicitly calls KIO::Scheduler::checkSlaveOnHold which is not documented at all. See the description about putting ioslaves on hold in KIO::get's API documentation.
>
> #2. Modify SchedulerPrivate::doJob to correctly set the m_checkOnHold flag for http requests when a job's command is CMD_SPECIAL. That is necessary because HTTP_POST, which is handled as a special command, can return content just like a get request.
>
>
> This addresses bugs 123121 and 148307.
> https://bugs.kde.org/show_bug.cgi?id=123121
> https://bugs.kde.org/show_bug.cgi?id=148307
>
>
> Diffs
> -----
>
> /trunk/KDE/kdelibs/kio/kio/scheduler.cpp 1209936
>
> Diff: http://svn.reviewboard.kde.org/r/6271/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Dawit
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110104/e284f5f7/attachment.htm>
More information about the kde-core-devel
mailing list