… | |
… | |
58 | #define MAX_SEND_INTERVAL 2. // optimistic? |
58 | #define MAX_SEND_INTERVAL 2. // optimistic? |
59 | |
59 | |
60 | #define LATENCY_FACTOR 0.5 // RTT * LATENCY_FACTOR == sending rate |
60 | #define LATENCY_FACTOR 0.5 // RTT * LATENCY_FACTOR == sending rate |
61 | #define MAX_OUTSTANDING 100 // max. outstanding requests |
61 | #define MAX_OUTSTANDING 100 // max. outstanding requests |
62 | #define MAX_WINDOW 1000 // max. for MAX_OUTSTANDING, and backlog |
62 | #define MAX_WINDOW 1000 // max. for MAX_OUTSTANDING, and backlog |
63 | #define MAX_BACKLOG (32*1024) // size of gvpe protocol backlog (bytes), must be > MAXSIZE |
63 | #define MAX_BACKLOG (64*1024) // size of gvpe protocol backlog (bytes), must be > MAXSIZE |
64 | |
64 | |
65 | #define MAX_DOMAIN_SIZE 240 // 255 is legal limit, but bind doesn't compress well |
65 | #define MAX_DOMAIN_SIZE 240 // 255 is legal limit, but bind doesn't compress well |
66 | // 240 leaves about 4 bytes of server reply data |
66 | // 240 leaves about 4 bytes of server reply data |
67 | // every request byte less give room for two reply bytes |
67 | // every request byte less give room for two reply bytes |
68 | |
68 | |