… | |
… | |
118 | |
118 | |
119 | =cut |
119 | =cut |
120 | |
120 | |
121 | sub LATENCY() { 3 } # assumed max. network latency |
121 | sub LATENCY() { 3 } # assumed max. network latency |
122 | |
122 | |
123 | our @FRAMINGS = qw(json storable); # the framing types we accept and send, in order of preference |
123 | our @FRAMINGS = qw(storable); # the framing types we accept and send, in order of preference |
124 | our @AUTH_SND = qw(hmac_md6_64_256); # auth types we send |
124 | our @AUTH_SND = qw(hmac_md6_64_256); # auth types we send |
125 | our @AUTH_RCV = (@AUTH_SND, qw(cleartext)); # auth types we accept |
125 | our @AUTH_RCV = (@AUTH_SND, qw(cleartext)); # auth types we accept |
126 | |
126 | |
127 | #AnyEvent::Handle::register_write_type mp_record => sub { |
127 | #AnyEvent::Handle::register_write_type mp_record => sub { |
128 | #}; |
128 | #}; |