Re: [web2py] Re: limiting the SSL max fragment size on development server (Rocket)

2017-10-31 Thread icodk
Thanks mcm for your suggestion. I added this line in rocket.py self.socket.settimeout(SOCKET_TIMEOUT) self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 4096) self.shutdown = self.socket.shutdown starting around line 133 but I keep getting the same error on my IoT platform, which I

Re: [web2py] Re: limiting the SSL max fragment size on development server (Rocket)

2017-10-31 Thread Michele Comitini
I think this is not exposed at python level you may try to hack the size on the lower level on the socket object using the setsocktopt function) ... untested ;-) socket.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 4096) 2017-10-25 20:42 GMT+02:00 Dave S : > > > On

[web2py] Re: limiting the SSL max fragment size on development server (Rocket)

2017-10-25 Thread Dave S
On Wednesday, October 25, 2017 at 6:18:08 AM UTC-7, icodk wrote: > > Some small IoT units can't afford the standard 16K fragment size required > by default for SSl negotiation. > On some servers it is possible to set such limit, ex > nginx: ssl_buffer_size 4k; > > Is it possible to do the