On Mon, May 10, 2010 at 12:39 PM, Vasiljevic Zoran <z...@archiware.com> wrote:
>
> What I have in mind is to:
>
> a. make necessary changes to the driver code so that socket options
> are set before we actually call listen().
>
> The a. is really the most work as it will require either chaning
> existing (sub-optimal) and/or adding new (more optimal) C-APIs.


Can you just take this from the config file? Make the default 0 and if
0, don't config the bufsize.


> b. add ?-socketbuffersize size? option to all Tcl API commands that
> work with sockets.
>
> The b. is relatively harmless and should be straight-forward once
> the a. is done.


Should there be some way to 'ignore' this if the OS can handle it
automatically?  Maybe you just pass [ns_config socket bufsize] to the
option and if it's 0, ignore it...?

------------------------------------------------------------------------------

_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to