<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>168637</bug_id>
          
          <creation_ts>2017-02-20 22:30:42 -0800</creation_ts>
          <short_desc>NetworkProcess: Stop disabling buffering when NETWORK_CACHE is disabled in build</short_desc>
          <delta_ts>2017-02-22 00:35:36 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=137692</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>darin</cc>
    
    <cc>koivisto</cc>
    
    <cc>ossy</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1279224</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-02-20 22:30:42 -0800</bug_when>
    <thetext>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&apos;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&apos;t work with the disk cache disabled, so I think it&apos;s time to remove that workaround.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1279225</commentid>
    <comment_count>1</comment_count>
      <attachid>302231</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-02-20 22:32:34 -0800</bug_when>
    <thetext>Created attachment 302231
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1279234</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2017-02-20 22:53:14 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; It was added in r193752 as part of bug #137692 to fix an infinite loop in
&gt; network process that happened in EFL because they didn&apos;t enable the network
&gt; cache at that time. I think that was actually a workaround, and it was added
&gt; without any comment so it has stayed there even when EFL enabled disk cache,
&gt; and now that is gone. Looking at current code I see no reason why buffering
&gt; can&apos;t work with the disk cache disabled, so I think it&apos;s time to remove that
&gt; workaround.

Have you tried it out with disabled network cache or do you just think that it will work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1279237</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-02-20 22:59:54 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #0)
&gt; &gt; It was added in r193752 as part of bug #137692 to fix an infinite loop in
&gt; &gt; network process that happened in EFL because they didn&apos;t enable the network
&gt; &gt; cache at that time. I think that was actually a workaround, and it was added
&gt; &gt; without any comment so it has stayed there even when EFL enabled disk cache,
&gt; &gt; and now that is gone. Looking at current code I see no reason why buffering
&gt; &gt; can&apos;t work with the disk cache disabled, so I think it&apos;s time to remove that
&gt; &gt; workaround.
&gt; 
&gt; Have you tried it out with disabled network cache or do you just think that
&gt; it will work?

Nope, I&apos;ve just read the buffering code in the network process.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1279816</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-02-22 00:35:36 -0800</bug_when>
    <thetext>Committed r212816: &lt;http://trac.webkit.org/changeset/212816&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>302231</attachid>
            <date>2017-02-20 22:32:34 -0800</date>
            <delta_ts>2017-02-21 11:04:41 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>wk2-network-buffering.diff</filename>
            <type>text/plain</type>
            <size>1784</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCBlNmJkZjQ3ZWM2MS4uNWE3ZGY0NzBmZDIgMTAwNjQ0Ci0tLSBhL1NvdXJj
ZS9XZWJLaXQyL0NoYW5nZUxvZworKysgYi9Tb3VyY2UvV2ViS2l0Mi9DaGFuZ2VMb2cKQEAgLTEs
NSArMSwyMSBAQAogMjAxNy0wMi0yMCAgQ2FybG9zIEdhcmNpYSBDYW1wb3MgIDxjZ2FyY2lhQGln
YWxpYS5jb20+CiAKKyAgICAgICAgTmV0d29ya1Byb2Nlc3M6IFN0b3AgZGlzYWJsaW5nIGJ1ZmZl
cmluZyB3aGVuIE5FVFdPUktfQ0FDSEUgaXMgZGlzYWJsZWQgaW4gYnVpbGQKKyAgICAgICAgaHR0
cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE2ODYzNworCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEl0IHdhcyBhZGRlZCBpbiByMTkz
NzUyIGFzIHBhcnQgb2YgYnVnICMxMzc2OTIgdG8gZml4IGFuIGluZmluaXRlIGxvb3AgaW4gbmV0
d29yayBwcm9jZXNzIHRoYXQgaGFwcGVuZWQgaW4gRUZMCisgICAgICAgIGJlY2F1c2UgdGhleSBk
aWRuJ3QgZW5hYmxlI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Tb3VyY2UvV2ViS2l0Mi9XZWJQcm9jZXNzL05ldHdvcmsvV2ViTG9hZGVy
U3RyYXRlZ3kuY3BwCisrKyBiL1NvdXJjZS9XZWJLaXQyL1dlYlByb2Nlc3MvTmV0d29yay9XZWJM
b2FkZXJTdHJhdGVneS5jcHAKQEAgLTk4LDEwICs5OCw2IEBAIFJlZlB0cjxOZXRzY2FwZVBsdWdJ
blN0cmVhbUxvYWRlcj4gV2ViTG9hZGVyU3RyYXRlZ3k6OnNjaGVkdWxlUGx1Z2luU3RyZWFtTG9h
ZChGCiAKIHN0YXRpYyBzdGQ6OmNocm9ubzo6bWlsbGlzZWNvbmRzIG1heGltdW1CdWZmZXJpbmdU
aW1lKENhY2hlZFJlc291cmNlKiByZXNvdXJjZSkKIHsKLSNpZiAhRU5BQkxFKE5FVFdPUktfQ0FD
SEUpCi0gICAgcmV0dXJuIDBtczsKLSNlbmRpZgotCiAgICAgaWYgKCFyZXNvdXJjZSkKICAgICAg
ICAgcmV0dXJuIDBtczsKIAo=
</data>
<flag name="review"
          id="323954"
          type_id="1"
          status="+"
          setter="achristensen"
    />
          </attachment>
      

    </bug>

</bugzilla>