Changeset 835 for server/common
- Timestamp:
 - Sep 8, 2008, 1:45:35 AM (17 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          server/common/oursrc/execsys/svnproxy.pl (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
server/common/oursrc/execsys/svnproxy.pl
r825 r835 82 82 } 83 83 84 # Write the client's response to svnserve.85 $buf = $response;86 while ($buf ne '') {87 my $n = syswrite(OUT, $buf);88 next if $n < 0 and $! == EINTR;89 $n >= 0 or die "$0: write: $!";90 $buf = substr($buf, $n);91 }92 93 84 # Finally, go into a select loop to transfer the remaining data 94 # (STDIN -> OUT, IN -> STDOUT) .95 my ($cbuf, $sbuf) = ( '', '');85 # (STDIN -> OUT, IN -> STDOUT), including the client's response to svnserve. 86 my ($cbuf, $sbuf) = ($response, ''); 96 87 my ($rin, $win, $ein) = ('', '', ''); 97 88 my ($stdout, $out, $stdin, $in) = (fileno(STDOUT), fileno(OUT), fileno(STDIN), fileno(IN)); 98 89 vec($win, $stdout, 1) = 0; 99 vec($win, $out, 1) = 0;100 vec($rin, $stdin, 1) = 1;90 vec($win, $out, 1) = 1; 91 vec($rin, $stdin, 1) = 0; 101 92 vec($rin, $in, 1) = 1; 102 93 while (vec($win, $stdout, 1) or vec($win, $out, 1) or  
Note: See TracChangeset
          for help on using the changeset viewer.
      