Vincent Hanquez
|
12104f612e
|
documentation fixup.
|
2012-07-12 09:02:38 +01:00 |
|
Vincent Hanquez
|
4179ceba82
|
start using Client and Server distinction for want client cert and session resume with
|
2012-07-12 09:02:10 +01:00 |
|
Vincent Hanquez
|
c8d9f0677b
|
switch session related callback to a new SessionManager class.
add necessary helper setSessionManager to not have to propagate
Rank2Types and ExistentialQuantification to the user.
|
2012-07-12 08:59:59 +01:00 |
|
Vincent Hanquez
|
1048815206
|
expose more context role related helpers and types.
|
2012-07-12 08:54:34 +01:00 |
|
Vincent Hanquez
|
d0d48bb476
|
export SessionID and SessionData.
|
2012-07-08 10:14:09 +01:00 |
|
Vincent Hanquez
|
8c5640114e
|
rename connection* accessor to context*.
|
2012-03-31 23:15:23 +01:00 |
|
Vincent Hanquez
|
16af8ff95f
|
add a backend close operation.
|
2012-03-28 08:08:33 +01:00 |
|
Vincent Hanquez
|
9da6b9c8c8
|
expand tabs.
|
2012-03-27 08:57:51 +01:00 |
|
Vincent Hanquez
|
e9a97bedb1
|
Merge branch 'npn' into next
Conflicts:
Network/TLS/Core.hs
|
2012-03-15 08:59:04 +00:00 |
|
Vincent Hanquez
|
750cbdce75
|
remove client, server, clientWith, serverWith in favor of just
contextNew and contextNewOnHandle
|
2012-03-15 08:16:48 +00:00 |
|
Vincent Hanquez
|
00c386de3c
|
add a role params in the params structure.
distinguish between server and client related business.
|
2012-03-15 08:04:16 +00:00 |
|
Vincent Hanquez
|
1d30a9479d
|
rename newCtx into contextNewOnHandle
newCtxWith is now contextNew
|
2012-03-15 07:55:38 +00:00 |
|
Vincent Hanquez
|
da3a3e7e4b
|
Remove TLS prefix in a few types.
Add compatibility types aliases definitions to the new names.
|
2012-03-14 08:56:28 +00:00 |
|
Vincent Hanquez
|
4b28c5735f
|
Create a backend abstraction that facilitate moving arguments around.
|
2012-03-12 08:48:03 +00:00 |
|
Joey Adams
|
c1ce196278
|
Use modifyMVar in usingState for exception safety
Also, force the state value, to avoid potential space leaks.
|
2012-03-10 14:55:04 -05:00 |
|
Joey Adams
|
23e91ae6f4
|
Fix space leak caused by updateMeasure
modifyIORef does not force the value, so if the Measurement object is updated a
bunch of times but never examined, the program will leak memory.
|
2012-03-10 11:41:01 -05:00 |
|
Lennart Kolmodin
|
2ed8c777b6
|
Add client side of Next Protocol Negotiation.
|
2012-02-16 12:13:13 +04:00 |
|
Vincent Hanquez
|
2a781dbc44
|
Merge remote-tracking branch 'kolmodin/npn' into npn
|
2012-02-14 03:54:09 +08:00 |
|
Vincent Hanquez
|
81464e7f1b
|
Merge branch 'master' into npn
|
2012-02-14 03:52:35 +08:00 |
|
Lennart Kolmodin
|
ab2a28ada6
|
Use callback instead of static state for supported NPN protocols.
onSuggestNextProtocols in TLSParams.
Expose getNegotiatedProtocol to users.
Fix condition for when to understand NPN messages.
|
2012-02-12 22:59:19 +04:00 |
|
Vincent Hanquez
|
5c4a0d345b
|
rename more Bytes to B.ByteString.
|
2012-02-11 10:50:41 +00:00 |
|
Lennart Kolmodin
|
e3e7e3c02a
|
Partial, but working, implementation of serverside NPN.
|
2012-02-08 13:20:28 +04:00 |
|
Vincent Hanquez
|
c17aa30599
|
prepare source for NPN.
|
2012-02-07 21:24:30 +00:00 |
|
Vincent Hanquez
|
80998d0bb5
|
track in the context if the tls pipe is established or not.
raise exception ConnectionNotEstablished in sendData and recvData if
trying to use an invalid Context.
|
2012-01-25 16:01:55 +00:00 |
|
Vincent Hanquez
|
d387959195
|
documentation correction
|
2012-01-25 09:32:53 +00:00 |
|
Vincent Hanquez
|
83b860726d
|
add parameters for session resuming
mostly callbacks during the handshake, and a parameter to enable session usage.
|
2011-12-20 07:34:52 +00:00 |
|
Vincent Hanquez
|
a3890e959d
|
add a sessionData type to bundle everything required for a session.
|
2011-12-12 08:25:45 +00:00 |
|
Vincent Hanquez
|
86335f18ce
|
split context structure and accessor out of Core.
|
2011-12-06 00:15:00 +00:00 |
|