forked from indymedia/epicyon
Back to threading
parent
27b4e8f3ac
commit
2403da5a5a
|
@ -6,7 +6,7 @@ __maintainer__ = "Bob Mottram"
|
||||||
__email__ = "bob@freedombone.net"
|
__email__ = "bob@freedombone.net"
|
||||||
__status__ = "Production"
|
__status__ = "Production"
|
||||||
|
|
||||||
from http.server import BaseHTTPRequestHandler,ThreadingHTTPServer,HTTPServer
|
from http.server import BaseHTTPRequestHandler,ThreadingHTTPServer
|
||||||
#import socketserver
|
#import socketserver
|
||||||
import commentjson
|
import commentjson
|
||||||
import json
|
import json
|
||||||
|
@ -2727,8 +2727,7 @@ def runDaemon(projectVersion, \
|
||||||
return
|
return
|
||||||
|
|
||||||
serverAddress = ('', proxyPort)
|
serverAddress = ('', proxyPort)
|
||||||
httpd = HTTPServer(serverAddress, PubServer)
|
httpd = ThreadingHTTPServer(serverAddress, PubServer)
|
||||||
#httpd = ThreadingHTTPServer(serverAddress, PubServer)
|
|
||||||
# max POST size of 10M
|
# max POST size of 10M
|
||||||
httpd.projectVersion=projectVersion
|
httpd.projectVersion=projectVersion
|
||||||
httpd.maxPostLength=1024*1024*10
|
httpd.maxPostLength=1024*1024*10
|
||||||
|
|
Loading…
Reference in New Issue