… | |
… | |
312 | is enabled) gives you the most portable way of getting urgent data, by |
312 | is enabled) gives you the most portable way of getting urgent data, by |
313 | putting it into the stream. |
313 | putting it into the stream. |
314 | |
314 | |
315 | Since BSD emulation of OOB data on top of TCP's urgent data can have |
315 | Since BSD emulation of OOB data on top of TCP's urgent data can have |
316 | security implications, AnyEvent::Handle sets this flag automatically |
316 | security implications, AnyEvent::Handle sets this flag automatically |
317 | unless explicitly specified. |
317 | unless explicitly specified. Note that setting this flag after |
|
|
318 | establishing a connection I<may> be a bit too late (data loss could |
|
|
319 | already have occured on BSD systems), but at least it will protect you |
|
|
320 | from most attacks. |
318 | |
321 | |
319 | =item read_size => <bytes> |
322 | =item read_size => <bytes> |
320 | |
323 | |
321 | The default read block size (the amount of bytes this module will |
324 | The default read block size (the amount of bytes this module will |
322 | try to read during each loop iteration, which affects memory |
325 | try to read during each loop iteration, which affects memory |