Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

HTTP::Body, Catalyst, and death.

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


moseley at hank

Aug 6, 2008, 3:58 PM

Post #1 of 1 (391 views)
Permalink
HTTP::Body, Catalyst, and death.

Catalyst::Engine prepare_body_chunk() calls HTTP::Body's add() method
with chunks as they are read from the input stream.

What happens if the call to ->add($chunk); dies? Does the input
stream get somehow flushed (up to the content_length)? Or would the
exception bypass any flushing?

In other words, is it important that HTTP::Body's add() method (and
really, spin() ) not die and instead continue to, well, spin until all
the request data has been consumed?


--
Bill Moseley
moseley [at] hank
Sent from my iMutt


_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.