mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
parent
2680343790
commit
133f657928
4 changed files with 20 additions and 1 deletions
12
.travis.yml
Normal file
12
.travis.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.5
|
||||
|
||||
before_script:
|
||||
npm install -g coffee-script
|
||||
|
||||
script:
|
||||
- make check
|
||||
- go test -v -race ./broker
|
||||
- cd proxy && cake test
|
5
Makefile
Normal file
5
Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
.SILENT: check
|
||||
.PHONY: check
|
||||
check:
|
||||
! gofmt -l . 2>&1 | read
|
||||
go vet ./broker ./client ./server
|
|
@ -1,5 +1,7 @@
|
|||
# snowflake-pt
|
||||
|
||||
[](https://travis-ci.org/keroserene/snowflake)
|
||||
|
||||
A Pluggable Transport using WebRTC
|
||||
|
||||
### Status
|
||||
|
|
|
@ -64,7 +64,7 @@ func (mc *MeekChannel) Negotiate(offer *webrtc.SessionDescription) (
|
|||
return nil, err
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
log.Printf("MeekChannel Response:\n%s\n\n", resp)
|
||||
log.Printf("MeekChannel Response:\n%s\n\n", resp.Status)
|
||||
body, err := ioutil.ReadAll(resp.Body)
|
||||
if nil != err {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue