Linux compatibility: Limit send size for httpWrite
Linux compatibility: Limit send size for httpWrite

If we issue a short write, libwebsocket handles it kinda ungracefully and we have no idea when to close the socket. Instead of letting libwebsocket copy our content into a temporary buffer, we can just give it smaller pieces.

piers7/fadecandy,Protoneer/fadecandy,adam-back/fadecandy,nomis52/fadecandy,jsestrich/fadecandy,Jorgen-VikingGod/fadecandy,scanlime/fadecandy,Protoneer/fadecandy,fragmede/fadecandy,hakan42/fadecandy,jsestrich/fadecandy,adam-back/fadecandy,PimentNoir/fadecandy,nomis52/fadecandy,poe/fadecandy,PimentNoir/fadecandy,nomis52/fadecandy,adam-back/fadecandy,lincomatic/fadecandy,nomis52/fadecandy,nomis52/fadecandy,scanlime/fadecandy,scanlime/fadecandy,fragmede/fadecandy,hakan42/fadecandy,poe/fadecandy,lincomatic/fadecandy,fragmede/fadecandy,Protoneer/fadecandy,poe/fadecandy,PimentNoir/fadecandy,pixelmatix/fadecandy,adam-back/fadecandy,jsestrich/fadecandy,hakan42/fadecandy,fragmede/fadecandy,piers7/fadecandy,Jorgen-VikingGod/fadecandy,poe/fadecandy,fragmede/fadecandy,nomis52/fadecandy,hakan42/fadecandy,poe/fadecandy,adam-back/fadecandy,PimentNoir/fadecandy,scanlime/fadecandy,lincomatic/fadecandy,PimentNoir/fadecandy,PimentNoir/fadecandy,lincomatic/fadecandy,fragmede/fadecandy,pixelmatix/fadecandy,jsestrich/fadecandy,Jorgen-VikingGod/fadecandy,hakan42/fadecandy,lincomatic/fadecandy,lincomatic/fadecandy,lincomatic/fadecandy,piers7/fadecandy,pixelmatix/fadecandy,nomis52/fadecandy,piers7/fadecandy,fragmede/fadecandy,Protoneer/fadecandy,lincomatic/fadecandy,Jorgen-VikingGod/fadecandy,poe/fadecandy,poe/fadecandy,piers7/fadecandy,Protoneer/fadecandy,fragmede/fadecandy,poe/fadecandy,nomis52/fadecandy,pixelmatix/fadecandy,scanlime/fadecandy,pixelmatix/fadecandy,Jorgen-VikingGod/fadecandy,scanlime/fadecandy,jsestrich/fadecandy