Show
Ignore:
Timestamp:
09/22/11 16:26:31 (3 years ago)
Author:
Ryan Phillips <ryan.phillips@rackspace.com>
git-committer:
Ryan Phillips <ryan.phillips@rackspace.com> 1316708791 -0500
git-parent:

[1d8f8ae0cbbab03f5d3e252a3cb0ff01cdf1b565]

git-author:
Ryan Phillips <ryan.phillips@rackspace.com> 1316708791 -0500
Message:

mark check bad and check for rc < 0

Files:

Legend:

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

    r1d8f8ae ra751ee3  
    182182 
    183183  if check.config.send_body ~= nil then 
    184     if e:write(check.config.send_body) == -1 then 
    185       check.status("received hangup") 
     184    if e:write(check.config.send_body) < 0 then 
     185      check.bad() 
     186      check.status("send_body: received hangup") 
    186187      return 
    187188    end