Commit graph

8 commits

Author SHA1 Message Date
sage-syfre cdffdd25e1 * Add defines for supporting SSL and HTTPBridge and removing SUPEROBJECT dependency
Defines are defined in wsdefines.pas
Removing SUPEROBJECT allow to release under MPL license (which i expect)
Also fix
* bug : framing encoding when sending a frame in multiple parts (fin=false)
* bug : TIdIOHandlerWebsocket TIdIOHandlerWebsocket.ReadFrame _WaitByte ; may hang
Other changes
* Refactoring of TIdServerWebsocketHandling.ProcessServerCommandGet for inheritance
* Add event (TIdServerWSContext) to accept or refuse upgrade (allow to check session cookie)
* Change TWebsocketChannelRequest var aType:TWSDataType to allow receiving in a mode and answering in an other

To use OpenSSL you need a modification in IdSSLOpenSSL to let overwrite TIdSSLIOHandlerSocketOpenSSL class
2016-10-28 09:20:11 +02:00
André Mussche 77841a45a7 various fixes: threadsafety/better locking, data corruption, ConnectAsync, better socketio connection check, better auto reconnect, server side get current thread socket, optional manual client fetch etc 2014-05-08 09:31:14 +02:00
André Mussche c8733951de firefox support 2014-02-10 11:48:31 +01:00
André Mussche 41beb829a0 unit test for plain http + websockets added
improved (automatic) connection handling
2014-02-10 11:30:56 +01:00
André Mussche ea489db31c - sending all data at once (instead of seperate header + data -> receive order gets different!)
- including partial data send handling
- process data from internal frame buffer instead of only waiting on real data on the socket
- terminate deadlock due to tmonitor, using tcriticalsection instead
- singlewritethread option
2014-01-10 15:05:04 +01:00
André Mussche 24a9c83501 shorter server loop (in case of "hanging" data?)
direct context as connection
2014-01-03 18:55:05 +01:00
andremussche be087753c5 error handling and unit test 2013-11-18 14:27:13 +01:00
andremussche 7d3b78b227 first checkin 2013-11-11 21:14:42 +01:00