Commit graph

270 commits

Author SHA1 Message Date
Lucas Clemente
d1d4dbde2c update public header parsing to version 33
refs #51
2016-05-05 00:54:29 +02:00
Lucas Clemente
ef6e8cf1b4 make server delete sessions when they are closed
fixes #46
2016-05-04 16:34:08 +02:00
Lucas Clemente
df5143d561 remove newlines from log messages 2016-05-04 14:24:36 +02:00
Lucas Clemente
09fb894fb2 add custom logger
fixes #45
2016-05-04 13:20:24 +02:00
Lucas Clemente
c068cbcb8f replace certificate path with tls.Config instance throughout the server
The example server now reads the certificate and key data itself. Tests
use the new testdata package, where the sample key & cert are stored.

Fixes #24
2016-05-03 16:41:25 +02:00
Lucas Clemente
462deb5038 improve version negotiation log 2016-05-02 20:50:06 +02:00
Marten Seemann
ad467ade58 fix several linter warnings and misspellings 2016-05-02 16:33:32 +07:00
Marten Seemann
595311e255 use certPath and keyPath variables when setting up the server 2016-04-28 17:41:21 +07:00
Lucas Clemente
0d6642464d remove some debug messages 2016-04-27 12:52:06 +02:00
Lucas Clemente
a5a06a25c2 remove udp references from session to simplify testing 2016-04-26 18:30:51 +02:00
Lucas Clemente
a126e0e606 refactor session to support very basic packet pacing 2016-04-25 14:59:26 +02:00
Lucas Clemente
71580780d6 add some server tests 2016-04-21 13:48:42 +02:00
Lucas Clemente
fd28921bdd test version negotiation packet 2016-04-21 13:48:42 +02:00
Marten Seemann
600d3805a2 send ConnectionCloseFrame as a response to unhandled frames 2016-04-19 15:12:02 +07:00
Lucas Clemente
ec718ffe99 log new connections 2016-04-18 21:07:22 +02:00
Lucas Clemente
ac0eed61f2 introduce crypto.Signer interface and hide RSA implementation 2016-04-17 00:22:26 +02:00
Lucas Clemente
7480822230 reduce debug messages 2016-04-16 22:17:36 +02:00
Lucas Clemente
a2ef4d2dc8 change supported version to slice, since the order matters for the SHLO 2016-04-16 00:27:03 +02:00
Lucas Clemente
06a4201d65 extract version negotiation into a separate function 2016-04-15 22:50:22 +02:00
Lucas Clemente
c3a5b846cb pull some stuff from main.go into server.go 2016-04-15 22:40:53 +02:00