Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yinghuocho committed Apr 26, 2016
1 parent 722a9f4 commit ac5c0a2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
firefly
firefly.exe
Firefly.app
firefly_darwin_amd64
firefly_linux_amd64
Expand Down
4 changes: 3 additions & 1 deletion client/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
VERSION := 0.4.1
SHORTVERSION := 0.4.1

DESC := "A proxy software for censorship circumvention"

.PHONY: windows package-windows linux package-linux darwin package-darwin clean

define fpm-debian-build
Expand All @@ -24,7 +26,7 @@ define fpm-debian-build
chmod -x $$WORKDIR/usr/bin/firefly-bin && \
chmod +x $$WORKDIR/usr/bin/firefly && \
\
fpm -a $$PKG_ARCH -s dir -t deb -n firefly -v $$VERSION -C $$WORKDIR -f usr;
fpm --license BSD --description "$$DESC" --vendor yinghuocho --maintainer "yinghuocho <[email protected]>" --url https://gofirefly.org/ -a $$PKG_ARCH -s dir -t deb -n firefly -v $$VERSION -C $$WORKDIR -f usr;
endef

windows:
Expand Down
4 changes: 2 additions & 2 deletions client/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ func (t *tunnelHandler) dialParallel(timeout time.Duration) (net.Conn, tunnelPee
}
close(quit)
return r.c, r.p, failedPeers
case <-time.After(100 * time.Millisecond):
// every 100 ms, fire a waiting one
case <-time.After(200 * time.Millisecond):
// every 200 ms, fire a waiting one
if waiting > 0 {
token <- true
waiting -= 1
Expand Down
1 change: 1 addition & 0 deletions server/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
server

0 comments on commit ac5c0a2

Please sign in to comment.