]> git.ipfire.org Git - thirdparty/tor.git/commit
Refactor directory servers
authorRoger Dingledine <arma@torproject.org>
Tue, 30 Mar 2004 22:57:49 +0000 (22:57 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 30 Mar 2004 22:57:49 +0000 (22:57 +0000)
commit2d3ac08633a47617c1244caab8b41f73604e0d48
treeb3e01ffa1a85e21e420d48bf202275cfab370823
parent919a8f236e65fd4eaed43fb9ae1ec55b7c98b94d
Refactor directory servers
* read all the time (before we would ignore eof sometimes, oops)
* we can handle different urls now
* send back 404 for an un-handled url
* commands initiated by the client can handle payloads now
* introduce conn->purpose to avoid exponential state-space explosion

svn:r1400
src/or/connection.c
src/or/directory.c
src/or/main.c
src/or/or.h
src/or/router.c