Commit graph

20 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
Administrator 8e7f63aeb6 ssl compatible (issue 1) 2015-10-01 08:39:43 +02:00
Administrator c76ca9d286 only send part of the buffer (not the whole 32kb!) 2015-10-01 08:32:40 +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 72711f0f27 default no debug_ws 2014-03-14 21:40:20 +01:00
André Mussche 3e02642917 proces websocket data already fetched during upgrade (otherwise strange data corruption afterwards...) 2014-03-14 16:27:30 +01:00
André Mussche b2ffe540df better threadsafe connecting 2014-03-07 13:40:04 +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 4fc311b4c8 ping problem fixed 2014-02-04 21:23:49 +01:00
André Mussche 73ff121faa ping + reconnect in read thread 2014-01-23 16:30:39 +01:00
André Mussche 0181d6b8ab Merge branch 'master' of https://github.com/andremussche/DelphiWebsockets 2014-01-20 08:59:36 +01:00
André Mussche 2b7abcceff xe5 compatible 2014-01-20 08:59:12 +01:00
André Mussche e1d2ad094b EReadTimeout fixed 2014-01-17 15:30:09 +01:00
André Mussche e1f132d1bd compile fixes 2014-01-13 10:00:09 +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 e6d3ad515a Merge branch 'master' of https://github.com/andremussche/DelphiWebsockets 2014-01-03 18:56:06 +01:00
André Mussche f8781f23dd - lock on "select"
- empty "connected" check is possible now (no "no data read" exception or timeout)
2014-01-03 18:49:48 +01:00
André Mussche 7a59f2b272 local sync 2014-01-02 14:59:48 +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