29 Commits (f23c78ede5e400a06d31f13399da9e02c9e941d1)

Author SHA1 Message Date
fangdingjun f23c78ede5 use context to manage conn/stream close 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 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 078ecb7734 add handler to cowork with net/http 6 years ago
fangdingjun f94896a294 prevent multiple call Run 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 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 68c8ece2c6 change function name
NewServerConn->Server
NewClientConn->Client
6 years ago
fangdingjun 503997660b add lock on close 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 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 790bc1b7c8 add http2 handler can cowork with net/http 6 years ago
fangdingjun 8d4069b1c2 restructure 6 years ago