[wp-trac] [WordPress Trac] #38522: HTTP Errors on Upload with Certain PDFs

WordPress Trac noreply at wordpress.org
Wed Nov 9 22:38:47 UTC 2016


#38522: HTTP Errors on Upload with Certain PDFs
---------------------------------------+---------------------------
 Reporter:  mikeschroder               |       Owner:  mikeschroder
     Type:  defect (bug)               |      Status:  assigned
 Priority:  normal                     |   Milestone:  4.7
Component:  Media                      |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+---------------------------

Comment (by dglingren):

 @mikeschroder - The number of duplicates seems to vary form test to test;
 very hard to pin down.

 @lukecavanagh - The duplicates don't always occur. I dragged/dropped those
 four files repeatedly and sometimes got duplicates, sometimes not.

 I think it was much worse before the latest patch, when it took much
 longer to generate the thumbnails. Maybe try reverting the patch and
 running the test on the older code?

 My test setup might contribute to the problem. I am running the
 client/browser and the server on the same system, so there are no network
 delays to speak of. It's quite possible that slower uploads mask or
 eliminate the problem.

 Here's a new clue, which I have just repeated several times.  The upload
 process begins with "asynch-upoad.php". The HTTP errors occur if an
 "admin-ajax.php" (action:heartbeat) request is sent while the earlier
 asynch-upload.php request is still in process.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38522#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list