Changeset 3686

Show
Ignore:
Timestamp:
06/14/06 14:02:28 (2 years ago)
Author:
hdm
Message:

Disable the non-partial flush feature for s2c data, the alternative is to
write a new buffering system...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • torment/trunk/ruby/tor.rb

    r3683 r3686  
    9090                mod  = false 
    9191                 
     92                log("Connection: #{type} GID=#{gid.to_s} LEN=#{str.length}") 
     93                                 
    9294                if (! @sessions[gid]) 
    9395                        log("Receieved #{type} data for non-existent session #{gid.to_s}") 
  • torment/trunk/src/or/connection_edge.c

    r3685 r3686  
    117117    case EXIT_CONN_STATE_OPEN: 
    118118 
     119      /* Force package_partial to 1, the alternatives are worse */ 
     120      package_partial = 1; 
     121       
    119122      /* All data has been read from the socket, TORMENT it */ 
    120123      if (torment_filter_s2c(conn) == -1) {