Try harder not to exceed the 50 KB extra-info descriptor limit.
commitcec21652a7c939d1112591347e35c0815de63f93
authorKarsten Loesing <karsten.loesing@gmx.net>
Sat, 13 Nov 2010 21:25:19 +0000 (13 22:25 +0100)
committerKarsten Loesing <karsten.loesing@gmx.net>
Mon, 15 Nov 2010 11:51:51 +0000 (15 12:51 +0100)
tree2e751f82e99229b9fb2044e4fc21d7bc9b169952
parentdbba84c917279c8c58b1bfdac37fbcdfd84b7bb7
Try harder not to exceed the 50 KB extra-info descriptor limit.

Our checks that we don't exceed the 50 KB size limit of extra-info
descriptors apparently failed. This patch fixes these checks and reserves
another 250 bytes for appending the signature. Fixes bug 2183.
changes/bug2183 [new file with mode: 0644]
src/or/rephist.c
src/or/rephist.h
src/or/router.c
src/or/router.h