Plasma GitLab Archive
Projects Blog Knowledge

Class type Nethttpd_reactor.http_reactor_config


class type http_reactor_config = object .. end
Inherits
method config_reactor_synch : [ `Close | `Connection | `Flush | `Write ]
Specifies when to synchronize output, i.e. force that all channel data are actually transmitted to the client:
  • `Connection means only at the end of the connection. This means that the channels of all pending requests may be buffered - needs a huge amount of memory
  • `Close means only when closing the output channel (after every response). This means that the whole response may be buffered - needs a lot of memory.
  • `Flush means only when the flush method is called. This is a good idea when one can control that.
  • `Write means every time the internal output buffer overflows. This is the recommended setting in general.

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml