Tor
0.4.7.0-alpha-dev
|
Header file for dircache.c. More...
Go to the source code of this file.
Functions | |
int | directory_handle_command (dir_connection_t *conn) |
Header file for dircache.c.
Definition in file dircache.h.
int directory_handle_command | ( | dir_connection_t * | conn | ) |
Called when a dirserver receives data on a directory connection; looks for an HTTP request. If the request is complete, remove it from the inbuf, try to process it; otherwise, leave it on the buffer. Return a 0 on success, or -1 on error.
Definition at line 1724 of file dircache.c.
Referenced by connection_dir_process_inbuf().