Nick Mathewson
|
1af630d32c
Bite the bullet and limit all our source lines to 80 characters, the way IBM intended.
|
vor 18 Jahren |
Roger Dingledine
|
58366ffd24
when we changed from log_fn to debug/info/notice/warn/err,
|
vor 18 Jahren |
Roger Dingledine
|
9b0a40ec78
crank the max line limit down to 150 chars.
|
vor 18 Jahren |
Nick Mathewson
|
39265dd72e
In my private little universe, terminals are still 80 columns. Impose a 160-character-per-line limit; this will creep down.
|
vor 18 Jahren |
Roger Dingledine
|
98f353fa7c
actually listen when we try to route our dir connection via tor.
|
vor 18 Jahren |
Roger Dingledine
|
5c949fce51
Start obeying our firewall options more rigorously:
|
vor 18 Jahren |
Nick Mathewson
|
b76f61ee66
If we stop knowing about a dirserver between request and answer, do not die.
|
vor 18 Jahren |
Nick Mathewson
|
75d85c8214
On directory servers, old_routers was wasting hundreds of bytes per superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers.
|
vor 18 Jahren |
Roger Dingledine
|
40ecaf4857
answer nick's XXX, and muck with some log domain choices
|
vor 18 Jahren |
Nick Mathewson
|
267af9ecf9
Fix a fun bug that was probably causing unnecessary downloads, and that coupld possibly have caused some segfaults: When post-processing a split fingerprint URL, we were trying to base16_decode() entries already in the fingerprint list, failing, and removing them. Ow.
|
vor 18 Jahren |
Nick Mathewson
|
5d85560d9e
Remove last vestiges of old logging interface.
|
vor 18 Jahren |
Nick Mathewson
|
e7e170a59e
Change more files to new loggin interface. 3 left.
|
vor 18 Jahren |
Nick Mathewson
|
81dd50a942
Fix memory leak when retrieving networkstatus or routerdesc by malformed fingerprint
|
vor 18 Jahren |
Peter Palfrader
|
d8daa910a6
Make dirserv_get_routerdescs() return better http 404 error messages instead of a generic "Servers unavailable."
|
vor 18 Jahren |
Peter Palfrader
|
64a631e187
Some http status lines ended in a dot, others did not. Make it all the same and remove the period from all
|
vor 18 Jahren |
Peter Palfrader
|
0d9aedfcea
Downgrade a few INFO level logs to DEBUG again. Also add two or three new
|
vor 18 Jahren |
Roger Dingledine
|
435fb973c2
when providing content-type application/octet-stream for providing
|
vor 18 Jahren |
Peter Palfrader
|
7b15f77dd6
Make a few INFO log lines into DEBUG
|
vor 18 Jahren |
Nick Mathewson
|
6101468cbe
Enable trivial "download by descriptor digest" functionality.
|
vor 18 Jahren |
Nick Mathewson
|
998cf8d622
Try to extract as many descriptors as possible from truncated http responses. (when DIR_PURPOSE_FETCH_ROUTERDESC)
|
vor 18 Jahren |
Nick Mathewson
|
11b76b9ca5
Allow tor_gzip_uncompress to extract as much as possible from truncated compressed data. Also, fix a bug where truncated compressed data could break tor_gzip_uncompress. [This last part is a backport candidate.]
|
vor 18 Jahren |
Nick Mathewson
|
972b7512c7
authorities do not replace server descriptors where nothing semantically relevant has changed since the last upload.
|
vor 18 Jahren |
Nick Mathewson
|
1ebbaf5c3a
improve INFO-level logging for directory downloads. This is still too chatty, but it will help us analyze things.
|
vor 18 Jahren |
Roger Dingledine
|
adf04f121e
size_t int printf mucking
|
vor 18 Jahren |
Nick Mathewson
|
1223310b69
Downgrade noisy log messages in preparation for an alpha release.
|
vor 18 Jahren |
Nick Mathewson
|
a608905070
Give a less frequent and more helpful warning on failed serverdesc downloads
|
vor 18 Jahren |
Nick Mathewson
|
42e17182da
When we get an EOF or a timeout on a directory connection, note how many bytes of serverdesc we are dropping. This will help us determine whether it is smart to parse incomplete serverdesc responses.
|
vor 18 Jahren |
Nick Mathewson
|
fc3c0197f9
Resolve several DOCDOCs. Make non-mirrors only launch routerdesc downloads when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download.
|
vor 18 Jahren |
Roger Dingledine
|
13e709a0ff
resolve nick's comment
|
vor 18 Jahren |
Nick Mathewson
|
edd15cb781
Note that there is incorrect behavior in directory.c code. Arma, please check this too.
|
vor 18 Jahren |