fangdingjun
|
e168de539b
|
go fmt
|
6 years ago |
fangdingjun
|
2c4c546551
|
use global certificate cred and priority cache
|
6 years ago |
fangdingjun
|
15fd652c74
|
fix some memory leak
|
6 years ago |
fangdingjun
|
3d338a8813
|
remove buffer pool
|
6 years ago |
fangdingjun
|
5093a0837b
|
update doc and README
|
6 years ago |
fangdingjun
|
a2891d6cbc
|
use t.Log instead of log.Print
|
6 years ago |
fangdingjun
|
1f6cfb8afc
|
use Pool to manage buffer
|
6 years ago |
fangdingjun
|
8895d6a0ec
|
remove log output
|
6 years ago |
fangdingjun
|
a8f0b8f39b
|
return 0 on pull function when read error
0 indicates connection termination
|
6 years ago |
fangdingjun
|
9723226e55
|
use gnutls api to check hostname
|
6 years ago |
fangdingjun
|
3c2bd315dc
|
fix crash issue on read after close
|
6 years ago |
fangdingjun
|
c5d91a0951
|
avoid allocate memory on Read
|
6 years ago |
fangdingjun
|
ea3bef53e0
|
pass go buffer as c buffer
|
6 years ago |
fangdingjun
|
00f5076672
|
check empty buffer on read/write
|
6 years ago |
fangdingjun
|
402a2c41f0
|
change the return error
|
6 years ago |
fangdingjun
|
fe7e74d225
|
remove debug log
|
6 years ago |
fangdingjun
|
f2771e0a03
|
rename function
NewServerConn->Server
NewClientConn->Client
|
6 years ago |
fangdingjun
|
50a41d72b7
|
add lock to handshake and close
|
6 years ago |
fangdingjun
|
a5ef54ff18
|
add finalizer to make sure release memory
|
6 years ago |
fangdingjun
|
4e5708fbe4
|
make all C callback function unexported
|
6 years ago |
fangdingjun
|
387719e6f0
|
change function name
|
6 years ago |
fangdingjun
|
bba44e0f99
|
fix godoc title
|
6 years ago |
fangdingjun
|
bcda1782fb
|
update README
|
6 years ago |
fangdingjun
|
b37629b885
|
update doc
|
6 years ago |
fangdingjun
|
2737d50d0c
|
change cipher function signature
|
6 years ago |
fangdingjun
|
e95a82779c
|
fix function name
|
6 years ago |
fangdingjun
|
ed6cf14e24
|
add peer certificate on connstate
|
6 years ago |
fangdingjun
|
5ce47a70c2
|
add gnutls certificate support
|
6 years ago |
fangdingjun
|
555759c8d9
|
add alpn support
|
6 years ago |
fangdingjun
|
a1a67d272c
|
add benchmark test for cipher/hash
|
6 years ago |
fangdingjun
|
89b099fdb3
|
update doc
|
6 years ago |
fangdingjun
|
11f1e5c1a6
|
add hash output length get function
|
6 years ago |
fangdingjun
|
2e02d7a93c
|
fix server name check issue
|
6 years ago |
fangdingjun
|
94a76608fd
|
fix cipher key size check
add key/block/iv size get function
|
6 years ago |
fangdingjun
|
99e87fbe80
|
remove some c wrapper function
call gnutls api directly in go code
|
6 years ago |
fangdingjun
|
a72416672a
|
first commit
|
7 years ago |