<?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>77500</bug_id>
          
          <creation_ts>2012-01-31 18:57:17 -0800</creation_ts>
          <short_desc>XMLHttpRequest is not returning server responses on uploads aborted from the server side</short_desc>
          <delta_ts>2012-02-01 14:18:55 -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>XML</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <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>0</everconfirmed>
          <reporter name="Craig Yoshioka">craigyk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>546722</commentid>
    <comment_count>0</comment_count>
    <who name="Craig Yoshioka">craigyk</who>
    <bug_when>2012-01-31 18:57:17 -0800</bug_when>
    <thetext>When uploading reasonably sized files (&lt;100MB) the XHR will return the response code and abort if the server responds with an error code before the upload transfer is complete.  When the transfer is very large though, the upload transfer proceeds and the XHR does not abort.  If the server sends the &quot;Connection: close&quot; header in the response, the XHR always aborts, but never shows the response code or status sent by the server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>547202</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-02-01 10:49:12 -0800</bug_when>
    <thetext>Do you have a test case, or more specific steps to reproduce?

So far, this doesn&apos;t necessarily sound like a bug - it can be just that server and client notion of &quot;transfer being complete&quot; are naturally out of sync.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>547366</commentid>
    <comment_count>2</comment_count>
    <who name="Craig Yoshioka">craigyk</who>
    <bug_when>2012-02-01 14:18:55 -0800</bug_when>
    <thetext>I think you are right.  Checking through the XHR specs seems to indicate that this behaviour in Webkit is based on the spec.  I guess I&apos;ll to use WebSockets if I want to get the desired effect.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>