[Webkit-unassigned] [Bug 119436] [curl] Improve detecting and handling of SSL related errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 20 15:29:38 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=119436





--- Comment #36 from Darin Adler <darin at apple.com>  2013-11-20 15:28:11 PST ---
(From update of attachment 217468)
View in context: https://bugs.webkit.org/attachment.cgi?id=217468&action=review

> Source/WebCore/platform/network/curl/SSLHandle.cpp:46
> +    HashMap<String, String>::iterator it = allowedHosts.find(host);
> +    if (it != allowedHosts.end())
> +        it->value = String();
> +    else
> +        allowedHosts.add(host, String());

This should be written like this:

    allowedHosts.set(host, String());

It doesn’t require multiple lines of code.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list