diff options
author | Roger Dingledine <arma@torproject.org> | 2003-05-01 06:42:29 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-05-01 06:42:29 +0000 |
commit | 05600084978d9583da28b9fe335031cc46133deb (patch) | |
tree | 738446445456ead4f5b01fea942af9b7efe8d31e /src/or/buffers.c | |
parent | 6af79f3a03fe23342ff4e41d0405238905643b67 (diff) | |
download | tor-05600084978d9583da28b9fe335031cc46133deb.tar tor-05600084978d9583da28b9fe335031cc46133deb.tar.gz |
terminology shift: data->relay, topic->relay, topic->stream
svn:r258
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index dd64ba91a..f0b3e2f6c 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -54,8 +54,8 @@ int read_to_buf(int s, int at_most, char **buf, int *buflen, int *buf_datalen, i /* if no linkpadding: do a rudimentary round-robin so one * connection can't hog a thickpipe */ - at_most = 10*(CELL_PAYLOAD_SIZE - TOPIC_HEADER_SIZE); - /* XXX this still isn't perfect. now we read 10 data payloads per read -- + at_most = 10*(CELL_PAYLOAD_SIZE - RELAY_HEADER_SIZE); + /* XXX this still isn't perfect. now we read 10 relay data payloads per read -- * but if we're reading from a connection that speaks cells, we always * read a partial cell from the network and can't process it yet. Good * enough for now though. (And maybe best, to stress our code more.) |