Changeset b82c61f42705019a80ef6cc50e587771f3ab1aae

Show
Ignore:
Timestamp:
09/19/09 00:27:44 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1253320064 +0000
git-parent:

[72e62f78f28e05bb81e934d01101f777d85e2cd2]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1253320064 +0000
Message:

connection:close could dump headers and bail, we'll notice that later and be fine with it. refs #181

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules-lua/noit/HttpClient.lua

    r72e62f7 rb82c61f  
    5353    while true do 
    5454        local str = self.e:read("\n") 
    55         if str == nil then error("premature end of headers") end 
    56         if str == "\r\n" or str == "\n" then break end 
     55        if str == nil or str == "\r\n" or str == "\n" then break end 
    5756        str = string.gsub(str, '%s+$', '') 
    5857        local hdr, val = string.match(str, "^([-_%a%d]+):%s+(.+)$")