暫無描述

aecdanjun aa3acd1d5a Add type Flags to the constants 10 年之前
h2demo 19f280c032 Update Download Link 11 年之前
hpack 8caa9dc5a9 Fix the variable name and typo in the comments. 10 年之前
testdata af958b3ad4 Update curl in integration test Dockerfile to 7.40.0 11 年之前
.gitignore 2fa3df86cd Update LICENSE 11 年之前
AUTHORS 07d158ae76 Add mdlayher to AUTHORS and CONTRIBUTORS 11 年之前
CONTRIBUTORS 07d158ae76 Add mdlayher to AUTHORS and CONTRIBUTORS 11 年之前
Dockerfile af958b3ad4 Update curl in integration test Dockerfile to 7.40.0 11 年之前
HACKING 0af8798ae9 Add HACKING file 11 年之前
LICENSE 2fa3df86cd Update LICENSE 11 年之前
Makefile 0fe8c920c6 Add a Docker image with curl supporting http2 11 年之前
README 1faa3a4810 update README 11 年之前
buffer.go 50b8ccc4e8 buffered pipe 11 年之前
buffer_test.go 50b8ccc4e8 buffered pipe 11 年之前
errors.go bd39196e5c CloseNotifier support and associated tests and discovered bugs & fixes 11 年之前
errors_test.go 51b824be1f Fix several issues found by 'go vet' 11 年之前
flow.go 2b45947877 Move handler writing flow control to serve goroutine's frame scheduler. 11 年之前
flow_test.go 2b45947877 Move handler writing flow control to serve goroutine's frame scheduler. 11 年之前
frame.go aa3acd1d5a Add type Flags to the constants 10 年之前
frame_test.go 7f51998e4e Add TestReadFrameHeader, rename TestReadWriteFrameHeader 11 年之前
gotrack.go 79903f0a86 typo 11 年之前
gotrack_test.go 6fe7631778 Debug-only runtime tracking of funcs running on correct goroutines. 11 年之前
headermap.go 6520e26846 Add cache of common HTTP headers mapped between lower and canonical case. 11 年之前
http2.go 97124afb23 Remove draft-14 comment in package docs. 10 年之前
http2_test.go d95a834acb fix truncation of unknown setting ID in SettingID.String 11 年之前
pipe.go 50b8ccc4e8 buffered pipe 11 年之前
pipe_test.go 50b8ccc4e8 buffered pipe 11 年之前
priority_test.go a5c5593a24 strengthen priority tree code and add tests 11 年之前
server.go 13dfd89112 Advertise 'h2' protocol, now that HTTP/2 is final. 11 年之前
server_test.go 13dfd89112 Advertise 'h2' protocol, now that HTTP/2 is final. 11 年之前
transport.go 00df6d8ecb transport: remove debug logs, finish stuff from my earlier commit 11 年之前
transport_test.go 3576907d47 transport: test responses unblock on conn error 11 年之前
write.go c8bab6aad6 Move server's WINDOW_UPDATE sending logic into the serve loop. 11 年之前
writesched.go 5b95eb395f Forget pending frames when stream is closed (e.g. RST) 11 年之前
z_spec_test.go 57999e3998 Load the spec coverage in tests lazily. 11 年之前

README

This is a work-in-progress HTTP/2 implementation for Go.

It will eventually live in the Go standard library and won't require
any changes to your code to use. It will just be automatic.

Status:

* The server support is pretty good. A few things are missing
but are being worked on.
* The client work has just started but shares a lot of code
is coming along much quicker.

Docs are at https://godoc.org/github.com/bradfitz/http2

Demo test server at https://http2.golang.org/

Help & bug reports welcome.