… | |
… | |
359 | already have occured on BSD systems), but at least it will protect you |
359 | already have occured on BSD systems), but at least it will protect you |
360 | from most attacks. |
360 | from most attacks. |
361 | |
361 | |
362 | =item read_size => <bytes> |
362 | =item read_size => <bytes> |
363 | |
363 | |
364 | The initial read block size, the number of bytes this module will try to |
364 | The initial read block size, the number of bytes this module will try |
365 | read during each loop iteration. Each handle object will consume at least |
365 | to read during each loop iteration. Each handle object will consume |
366 | this amount of memory for the read buffer as well, so when handling many |
366 | at least this amount of memory for the read buffer as well, so when |
367 | connections requirements). See also C<max_read_size>. Default: C<2048>. |
367 | handling many connections watch out for memory requirements). See also |
|
|
368 | C<max_read_size>. Default: C<2048>. |
368 | |
369 | |
369 | =item max_read_size => <bytes> |
370 | =item max_read_size => <bytes> |
370 | |
371 | |
371 | The maximum read buffer size used by the dynamic adjustment |
372 | The maximum read buffer size used by the dynamic adjustment |
372 | algorithm: Each time AnyEvent::Handle can read C<read_size> bytes in |
373 | algorithm: Each time AnyEvent::Handle can read C<read_size> bytes in |