WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
77500
XMLHttpRequest is not returning server responses on uploads aborted from the server side
https://bugs.webkit.org/show_bug.cgi?id=77500
Summary
XMLHttpRequest is not returning server responses on uploads aborted from the ...
Craig Yoshioka
Reported
2012-01-31 18:57:17 PST
When uploading reasonably sized files (<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 "Connection: close" header in the response, the XHR always aborts, but never shows the response code or status sent by the server.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-02-01 10:49:12 PST
Do you have a test case, or more specific steps to reproduce? So far, this doesn't necessarily sound like a bug - it can be just that server and client notion of "transfer being complete" are naturally out of sync.
Craig Yoshioka
Comment 2
2012-02-01 14:18:55 PST
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'll to use WebSockets if I want to get the desired effect.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug