Changeset 5542

Show
Ignore:
Timestamp:
06/27/08 14:57:53 (2 months ago)
Author:
hdm
Message:

Check for an empty HTTP request before trying to process it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/modules/auxiliary/server/capture/http.rb

    r5491 r5542  
    7878                begin 
    7979                        data = cli.get_once(-1, 5) 
     80                        raise ::Errno::ECONNABORTED if not (data or data.length == 0) 
    8081                        case cli.request.parse(data) 
    8182