View foo.diff
diff --git a/modules/blobcast.js b/modules/blobcast.js
index a1c2e8f..e4e66b7 100644
--- a/modules/blobcast.js
+++ b/modules/blobcast.js
@@ -28,7 +28,9 @@ function BlobCast(cfg)
this.sessionModules = require('./session-modules').setup(cfg);
- this.serverManager.resetServer();
+ this.serverManager.resetServer(function(err) {
View foo.diff
diff --git a/main.go b/main.go
index 3f9169b..edd5f4f 100644
--- a/main.go
+++ b/main.go
@@ -1,26 +1,49 @@
package main
import (
+ "flag"
"github.com/symondsandson/stats/scanner"
View foo.diff
diff --git a/main.go b/main.go
index 3f9169b..edd5f4f 100644
--- a/main.go
+++ b/main.go
@@ -1,26 +1,49 @@
package main
import (
+ "flag"
"github.com/symondsandson/stats/scanner"
View sdlisten.go
package main
import (
"flag"
"fmt"
"log"
"net"
"os"
"os/signal"
"time"
View gist:945ab31565f7591eff298cf963b0febb
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://unix:/tmp/example-sockets/$http_example_socket:/;
proxy_set_header Host $host;
proxy_set_header Port $remote_addr;
}
}
View 007-test-proxy
server {
listen 9500;
server_name beta.rumblemonkey.com;
# This header enables the Cross-site scripting (XSS) filter
# add_header X-XSS-Protection "1; mode=block";
ssl off;
location / {
View unix_proxy.go
package main
import (
"fmt"
"log"
"net"
"net/http"
"os"
)
View listen.go
package main
import (
"bufio"
"log"
"net"
)
func handle(conn *net.TCPConn) {
defer conn.Close()
View z.go
package main
import (
"html/template"
"log"
"net/http"
// "sync"
// "unsafe"
)
View z.go
package main
import (
"html/template"
"log"
"net/http"
// "sync"
// "unsafe"
)