Skip to content
Snippets Groups Projects
Commit 4812b9a8 authored by David Fifield's avatar David Fifield
Browse files

Reduce meek-client sessionIdLength to 8 from 32, and strip trailing '='.

This reduces the encoded length of a session ID from 44 bytes down to
12. If we have 1000 simultaneous users, and they're all idle and polling
at 5 requests/s, then this change saves 1000*(44-12)/5 = 6.4 KB/s.
According to https://trac.torproject.org/projects/tor/ticket/12778, the
header length is about 413 bytes, so the shorter session ID saves about
7% in the header.
parent c8f2dd1e
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment