f2222ba3 by astaxie

support fastcgi

1 parent 3cb8a960
Showing 1 changed file with 4 additions and 0 deletions
...@@ -108,7 +108,11 @@ func (app *App) Run() { ...@@ -108,7 +108,11 @@ func (app *App) Run() {
108 l net.Listener 108 l net.Listener
109 ) 109 )
110 if UseFcgi { 110 if UseFcgi {
111 if HttpPort == 0 {
112 l, err = net.Listen("unix", addr)
113 } else {
111 l, err = net.Listen("tcp", addr) 114 l, err = net.Listen("tcp", addr)
115 }
112 if err != nil { 116 if err != nil {
113 BeeLogger.Fatal("Listen: ", err) 117 BeeLogger.Fatal("Listen: ", err)
114 } 118 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!