Review Request 116602: fix setting "ssl_was_in_use" metadata
Andrea Iacovitti
aiacovitti at libero.it
Thu Mar 27 06:19:54 GMT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116602/
-----------------------------------------------------------
(Updated March 27, 2014, 6:19 a.m.)
Status
------
This change has been marked as submitted.
Review request for kdelibs and Dawit Alemayehu.
Repository: kdelibs
Description
-------
If incomingMetaData doesn't contain item with key "ssl_in_use" (and i verified this happen) using [] operator results in inserting a new item with key "ssl_in_use" and NullString value in incomingMetaData map and, as a consequence, a new item with key "ssl_was_in_use" and NullString value in outgoingMetaData map.
This patch aims to avoid this situation by looking up the key using queryMetadata().
Diffs
-----
kio/kio/job.cpp edc5fed
Diff: https://git.reviewboard.kde.org/r/116602/diff/
Testing
-------
Thanks,
Andrea Iacovitti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140327/29e4c9ea/attachment.htm>
More information about the kde-core-devel
mailing list