fangdingjun
|
f23c78ede5
|
use context to manage conn/stream close
|
6 years ago |
fangdingjun
|
2696323ff3
|
go fmt
|
6 years ago |
fangdingjun
|
2f09b48a89
|
fix crash issue on stream.Write
|
6 years ago |
fangdingjun
|
0a79b2882d
|
remove buffer pool
|
6 years ago |
fangdingjun
|
8288f2a989
|
change conn.closed flag by hold the lock
|
6 years ago |
fangdingjun
|
ac31db180c
|
fix race condition on map operation
|
6 years ago |
fangdingjun
|
e722eded24
|
use conn.Close instead of send value to channel
|
6 years ago |
fangdingjun
|
a360f286b0
|
update doc
|
6 years ago |
fangdingjun
|
d4ee3e4458
|
update README
|
6 years ago |
fangdingjun
|
77b17501c3
|
use Pool to manage byte slice
|
6 years ago |
fangdingjun
|
af990484d4
|
not pass byte slice through channel on read loop
|
6 years ago |
fangdingjun
|
462ab85e7f
|
add finallizer function to release memory
|
6 years ago |
fangdingjun
|
60510df289
|
add RemoteAddr and URL on Request
|
6 years ago |
fangdingjun
|
a1577f80df
|
support nil cfg
|
6 years ago |
fangdingjun
|
714e73abf1
|
add Dial function
|
6 years ago |
fangdingjun
|
d62a5f0786
|
update doc
|
6 years ago |
fangdingjun
|
b6a69591ae
|
fix tests
|
6 years ago |
fangdingjun
|
9e67ffde41
|
set TLS for server/client
|
6 years ago |
fangdingjun
|
5e853f2807
|
fix the response not send issue when set header first
|
6 years ago |
fangdingjun
|
078ecb7734
|
add handler to cowork with net/http
|
6 years ago |
fangdingjun
|
f94896a294
|
prevent multiple call Run
|
6 years ago |
fangdingjun
|
a36277d465
|
check stream state when read/write
|
6 years ago |
fangdingjun
|
2549e70d74
|
fix crash on header callback
|
6 years ago |
fangdingjun
|
98a084fa18
|
add header on request
|
6 years ago |
fangdingjun
|
bf4658d8f4
|
finish server/client logical
|
6 years ago |
fangdingjun
|
c87800ed83
|
merge client/server connection and stream
|
6 years ago |
fangdingjun
|
439e39a688
|
remove log
|
6 years ago |
fangdingjun
|
28a6eb0746
|
code clean up
remove unused code
use go slice to manage nghttp2_nv array
send RST_STREAM when connection closed on CONNECT request
|
6 years ago |
fangdingjun
|
4fbc42db2e
|
close chan instead of send value
|
6 years ago |
fangdingjun
|
8c53841e25
|
code format
|
6 years ago |
fangdingjun
|
ade4dcb8a7
|
remove some C wrapper function
|
6 years ago |
fangdingjun
|
994f455368
|
add CanTakeNewRequest function on ClientConn
|
6 years ago |
fangdingjun
|
10c9e2bbab
|
change connect function signature
|
6 years ago |
fangdingjun
|
58e1343da1
|
close stream and delete from conn.streams
|
6 years ago |
fangdingjun
|
563e006303
|
make sure nghttp_session in one thread at same time
|
6 years ago |
fangdingjun
|
4125b26c35
|
add callback for goaway frame
|
6 years ago |
fangdingjun
|
68c8ece2c6
|
change function name
NewServerConn->Server
NewClientConn->Client
|
6 years ago |
fangdingjun
|
503997660b
|
add lock on close
|
6 years ago |
fangdingjun
|
3409e5e702
|
make all C callback functions unexported
|
6 years ago |
fangdingjun
|
2b04f2d580
|
fix high cpu usage and crash issue
fix high cpu usage
fix crash issue on server stream close
change function name
|
6 years ago |
fangdingjun
|
a85180e942
|
fix godoc title
|
6 years ago |
fangdingjun
|
2b5a27a51e
|
update http2 server path
|
6 years ago |
fangdingjun
|
8a3197c5a5
|
add lock on body close
|
6 years ago |
fangdingjun
|
2c08e2e93f
|
move stream data process to callbacks function
|
6 years ago |
fangdingjun
|
2a656bcc35
|
remove message from log.Print
|
6 years ago |
fangdingjun
|
9ff9e06fba
|
add keep alive on client connection
|
6 years ago |
fangdingjun
|
be2621cd5a
|
update REAMDE
|
6 years ago |
fangdingjun
|
59d57acb63
|
add README
|
6 years ago |
fangdingjun
|
6e47335a03
|
add license
|
6 years ago |
fangdingjun
|
f97bb46161
|
add doc
|
6 years ago |