SSL: reworked posted next events.

Introduced in 9d2ad2fb4423 available bytes handling in SSL relied
on connection read handler being overwritten to set the ready flag
and the amount of available bytes.  This approach is, however, does
not work properly when connection read handler is changed, for example,
when switching to a next pipelined request, and can result in unexpected
connection timeouts, see here:

Fix is to introduce ngx_event_process_posted_next() instead, which
will set ready and available regardless of how event handler is set.
5 files changed
tree: d691aecc335b140cc1deb45bf356421004284df0
  1. .hgtags
  2. auto/
  3. conf/
  4. contrib/
  5. docs/
  6. misc/
  7. src/