Show
Ignore:
Timestamp:
03/17/08 17:26:15 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1205774775 +0000
git-parent:

[d993405266c4d7b865974b099bf0ec3cbbb1ed5f]

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

handle closed sessions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_jlog_streamer.c

    r7e37566 r9ae4634  
    138138      return -1; 
    139139    } 
     140    if(len == 0) return ctx->bytes_read; 
    140141    ctx->bytes_read += len; 
    141142  } 
     
    158159  ctx->bytes_read = 0; \ 
    159160  ctx->bytes_expected = 0; \ 
     161  if(len != size) { \ 
     162    noitL(noit_error, "SSL short read (%d/%d).  Reseting connection.\n", \ 
     163          len, size); \ 
     164    goto socket_error; \ 
     165  } \ 
    160166} while(0) 
    161167