https://bugs.kde.org/show_bug.cgi?id=426367

Ahmad Samir <a.samir...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/commit/6edec1f49
                   |                            |07bae55684f61d38edd5376265c
                   |                            |e538
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Ahmad Samir <a.samir...@gmail.com> ---
Git commit 6edec1f4907bae55684f61d38edd5376265ce538 by Ahmad Samir.
Committed on 11/09/2020 at 09:50.
Pushed by dfaure into branch 'master'.

StatJob: cancel job if url is invalid

This fixes an assert in KProtocolInfoFactory::findProtocol, which was
checking if protocl is empty.

Also it makes sense to not spend resources stat'ing an invalid url, (it's
probably more efficient if the code that's creating a StatJob, first checks
that the url is valid).

Add more log message explaining why a stat job is cancelled; per dfaure's
advice use a separate method with early returns to do that.

M  +21   -1    src/core/statjob.cpp

https://invent.kde.org/frameworks/kio/commit/6edec1f4907bae55684f61d38edd5376265ce538

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to