[BACK]Return to channels.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/channels.c between version 1.135 and 1.136

version 1.135, 2001/10/01 21:38:53 version 1.136, 2001/10/04 15:05:40
Line 429 
Line 429 
         for (i = 0; i < channels_alloc; i++) {          for (i = 0; i < channels_alloc; i++) {
                 c = channels[i];                  c = channels[i];
                 if (c != NULL && c->type == SSH_CHANNEL_OPEN) {                  if (c != NULL && c->type == SSH_CHANNEL_OPEN) {
                         if (!compat20 && buffer_len(&c->input) > packet_get_maxsize()) {  #if 0
                           if (!compat20 &&
                               buffer_len(&c->input) > packet_get_maxsize()) {
                                 debug("channel %d: big input buffer %d",                                  debug("channel %d: big input buffer %d",
                                     c->self, buffer_len(&c->input));                                      c->self, buffer_len(&c->input));
                                 return 0;                                  return 0;
                         }                          }
   #endif
                         if (buffer_len(&c->output) > packet_get_maxsize()) {                          if (buffer_len(&c->output) > packet_get_maxsize()) {
                                 debug("channel %d: big output buffer %d",                                  debug("channel %d: big output buffer %d > %d",
                                     c->self, buffer_len(&c->output));                                      c->self, buffer_len(&c->output),
                                       packet_get_maxsize());
                                 return 0;                                  return 0;
                         }                          }
                 }                  }

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136