[wp-trac] Re: [WordPress Trac] #8618: Chunked Decode not completely working

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 30 23:07:25 GMT 2008


#8618: Chunked Decode not completely working
-------------------------------------+--------------------------------------
 Reporter:  jacobsantos              |        Owner:  jacobsantos
     Type:  defect (bug)             |       Status:  new        
 Priority:  normal                   |    Milestone:  2.8        
Component:  HTTP                     |      Version:  2.7        
 Severity:  normal                   |   Resolution:             
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by DD32):

 re: } while ( true === $done );

 why not just change that to while(true) and remove the $done and break,
 It'll probably only confuse someone in the future..

 Well.. Actually, Wait a minute. That change results in the loop only
 running once, because $done will -never- be true in that loop, well.. it
 will be.. right before it exits the function.. So, If theres multiple
 chunks in the document (I swear thats possible, right?) it'll return null
 from that function now..

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8618#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list