[webkit-dev] NetworkSession
Alex Christensen
achristensen at apple.com
Thu Nov 19 12:49:56 PST 2015
Yes, Carlos, that is correct. I’m making it so ENABLE(NETWORK_PROCESS) is effectively always 1, usesNetworkProcess is effectively always true, and ProcessModel is always ProcessModelMultipleSecondaryProcesses. I did this by removing the checks for NETWORK_PROCESS, usesNetworkProcess, and ProcessModel. We will still have a max process limit, and it can be set to 1, and that’s what I’ve used to get ready for this change, too.
Alex
> On Nov 19, 2015, at 12:04 AM, Carlos Garcia Campos <carlosgc at webkit.org> wrote:
>
> El mié, 18-11-2015 a las 15:58 -0800, Alex Christensen escribió:
>> As part of this work, I’m also planning to remove the non-
>> NetworkProcess code, both run time and compile time. Based on
>> discussion at the WebKit contributors’ meeting I assume there is no
>> objection to this. See https://bugs.webkit.org/show_bug.cgi?id=15141 <https://bugs.webkit.org/show_bug.cgi?id=15141>
>> 8
>
> No objections for GTK port. I guess then the single process model will
> become multiple model with max process limit = 1 internally, right?
> That's what we did in epiphany in preparation for this change. Or do
> you plan to remove/deprecate the single process model?
>
>> Alex
>>
>>> On Nov 9, 2015, at 11:32 AM, Alex Christensen <achristensen at apple.c
>>> om> wrote:
>>>
>>> I made new abstractions for loading in WebKit2: NetworkSession and
>>> NetworkDataTask. It is disabled by default right now, but if you
>>> switch USE_NETWORK_SESSION to 1, it mostly works on Mac with
>>> features like authentication challenges not implemented yet. I
>>> believe these new abstractions fit better with libsoup, but I’d
>>> like feedback on what an actual libsoup implementation would need.
>>> I’m planning on removing the ResourceHandle use in WebKit2 and the
>>> async/continue callbacks in ResourceHandleClient and ResourceHandle
>>> once this work is done.
>>>
>>> Alex
>>>
>>> _______________________________________________
>>> webkit-dev mailing list
>>> webkit-dev at lists.webkit.org
>>> https://lists.webkit.org/mailman/listinfo/webkit-dev
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> https://lists.webkit.org/mailman/listinfo/webkit-dev
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
> https://lists.webkit.org/mailman/listinfo/webkit-dev <https://lists.webkit.org/mailman/listinfo/webkit-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20151119/ce8ab455/attachment.html>
More information about the webkit-dev
mailing list