RESOLVED FIXED 168637
NetworkProcess: Stop disabling buffering when NETWORK_CACHE is disabled in build
https://bugs.webkit.org/show_bug.cgi?id=168637
Summary NetworkProcess: Stop disabling buffering when NETWORK_CACHE is disabled in build
Carlos Garcia Campos
Reported 2017-02-20 22:30:42 PST
It was added in r193752 as part of bug #137692 to fix an infinite loop in network process that happened in EFL because they didn't enable the network cache at that time. I think that was actually a workaround, and it was added without any comment so it has stayed there even when EFL enabled disk cache, and now that is gone. Looking at current code I see no reason why buffering can't work with the disk cache disabled, so I think it's time to remove that workaround.
Attachments
Patch (1.74 KB, patch)
2017-02-20 22:32 PST, Carlos Garcia Campos
achristensen: review+
Carlos Garcia Campos
Comment 1 2017-02-20 22:32:34 PST
Csaba Osztrogonác
Comment 2 2017-02-20 22:53:14 PST
(In reply to comment #0) > It was added in r193752 as part of bug #137692 to fix an infinite loop in > network process that happened in EFL because they didn't enable the network > cache at that time. I think that was actually a workaround, and it was added > without any comment so it has stayed there even when EFL enabled disk cache, > and now that is gone. Looking at current code I see no reason why buffering > can't work with the disk cache disabled, so I think it's time to remove that > workaround. Have you tried it out with disabled network cache or do you just think that it will work?
Carlos Garcia Campos
Comment 3 2017-02-20 22:59:54 PST
(In reply to comment #2) > (In reply to comment #0) > > It was added in r193752 as part of bug #137692 to fix an infinite loop in > > network process that happened in EFL because they didn't enable the network > > cache at that time. I think that was actually a workaround, and it was added > > without any comment so it has stayed there even when EFL enabled disk cache, > > and now that is gone. Looking at current code I see no reason why buffering > > can't work with the disk cache disabled, so I think it's time to remove that > > workaround. > > Have you tried it out with disabled network cache or do you just think that > it will work? Nope, I've just read the buffering code in the network process.
Carlos Garcia Campos
Comment 4 2017-02-22 00:35:36 PST
Note You need to log in before you can comment on or make changes to this bug.