File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,5 @@ require (
1414)
1515
1616go 1.13
17+
18+ replace github.com/tomasen/fcgi_client => github.com/kanocz/fcgi_client v0.0.0-20210113082628-fff85c8adfb7
Original file line number Diff line number Diff line change @@ -873,6 +873,8 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V
873873github.com/julienschmidt/httprouter v1.3.0 /go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM =
874874github.com/jung-kurt/gofpdf v1.0.0 /go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes =
875875github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5 /go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes =
876+ github.com/kanocz/fcgi_client v0.0.0-20210113082628-fff85c8adfb7 h1:W0fAsQ7bC1db4k9O2X6yZvatz/0c/ISyxhmNnc6arZA =
877+ github.com/kanocz/fcgi_client v0.0.0-20210113082628-fff85c8adfb7 /go.mod h1:dHpIS7C6YjFguh5vo9QBVEojDoL3vh3v6oEho2HtNyA =
876878github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 /go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8 =
877879github.com/kisielk/errcheck v1.5.0 /go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8 =
878880github.com/kisielk/gotool v1.0.0 /go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck =
@@ -1049,8 +1051,6 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU
10491051github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
10501052github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8 =
10511053github.com/subosito/gotenv v1.4.2 /go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0 =
1052- github.com/tomasen/fcgi_client v0.0.0-20180423082037-2bb3d819fd19 h1:ZCmSnT6CLGhfoQ2lPEhL4nsJstKDCw1F1RfN8/smTCU =
1053- github.com/tomasen/fcgi_client v0.0.0-20180423082037-2bb3d819fd19 /go.mod h1:SXTY+QvI+KTTKXQdg0zZ7nx0u94QWh8ZAwBQYsW9cqk =
10541054github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926 /go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM =
10551055github.com/xhit/go-str2duration v1.2.0 /go.mod h1:3cPSlfZlUHVlneIVfePFWcJZsuwf+P1v2SRTV4cUmp4 =
10561056github.com/xhit/go-str2duration/v2 v2.1.0 /go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU =
Original file line number Diff line number Diff line change @@ -163,6 +163,8 @@ func (p *Pool) Update() (err error) {
163163
164164 defer fcgi .Close ()
165165
166+ fcgi .SetTimeout (time .Duration (3 ) * time .Second )
167+
166168 env := map [string ]string {
167169 "SCRIPT_FILENAME" : path ,
168170 "SCRIPT_NAME" : path ,
You can’t perform that action at this time.
0 commit comments