[wp-trac] [WordPress Trac] #10765: Bigger HTTP downloads with curl class run out of memory

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 11 18:46:06 UTC 2009


#10765: Bigger HTTP downloads with curl class run out of memory
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:                              
     Type:  defect (bug)  |      Status:  new                         
 Priority:  normal        |   Milestone:  2.9                         
Component:  General       |     Version:  2.8.4                       
 Severity:  normal        |    Keywords:  has-patch developer-feedback
--------------------------+-------------------------------------------------

Comment(by jacobsantos):

 Well, I think that was there for before the specific solution for cURL was
 found. It was assumed that it was similar to the other transports, in that
 the headers and body would be together and need to be split. This was not
 the case, and the code was either there in order to go back with the old
 way, in case the "correct" way didn't pan out.

 Once it was discovered that the correct way was in fact so, the variable
 was forgotten. It should be removed. As for optimizing the code base for
 cURL, that is probably not going to be possible, unless someone clever
 comes along.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10765#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list