mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Close rogue <b>s
svn:r1838
This commit is contained in:
parent
d9fa234fd9
commit
720281b32e
@ -172,7 +172,7 @@ void buf_free(buf_t *buf) {
|
||||
tor_free(buf);
|
||||
}
|
||||
|
||||
/** Read from socket <b>s</s>, writing onto end of <b>buf</b>. Read at most
|
||||
/** Read from socket <b>s</b>, writing onto end of <b>buf</b>. Read at most
|
||||
* <b>at_most</b> bytes, resizing the buffer as necessary. If read()
|
||||
* returns 0, set <b>*reached_eof</b> to 1 and return 0. Return -1 on error;
|
||||
* else return the number of bytes read. Return 0 if read() would
|
||||
|
@ -78,7 +78,7 @@ static void rend_service_free_all(void)
|
||||
rend_service_list = smartlist_create();
|
||||
}
|
||||
|
||||
/** Validate <b>service<b> and add it to rend_service_list if possible.
|
||||
/** Validate <b>service</b> and add it to rend_service_list if possible.
|
||||
*/
|
||||
static void add_service(rend_service_t *service)
|
||||
{
|
||||
@ -894,7 +894,7 @@ rend_service_dump_stats(int severity)
|
||||
}
|
||||
}
|
||||
|
||||
/** Given <b>conn</a>, a rendezvous exit stream, look up the hidden service for
|
||||
/** Given <b>conn</b>, a rendezvous exit stream, look up the hidden service for
|
||||
* 'circ', and look up the port and address based on conn-\>port.
|
||||
* Assign the actual conn-\>addr and conn-\>port. Return -1 if failure,
|
||||
* or 0 for success.
|
||||
|
Loading…
Reference in New Issue
Block a user