python - 一个Flask Web应用报了一个error: [Errno 10053]错,求解决。
大家讲道理
大家讲道理 2017-04-18 10:28:19
0
1
907
Exception happened during processing of request from ('171.88.81.70', 27450)
Traceback (most recent call last):
  File "C:\Python27\lib\SocketServer.py", line 596, in process_request_thread
    self.finish_request(request, client_address)
  File "C:\Python27\lib\SocketServer.py", line 331, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:\Python27\lib\SocketServer.py", line 654, in __init__
    self.finish()
  File "C:\Python27\lib\SocketServer.py", line 713, in finish
    self.wfile.close()
  File "C:\Python27\lib\socket.py", line 283, in close
    self.flush()
  File "C:\Python27\lib\socket.py", line 307, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
----------------------------------------

是不是Flask没有用WSGI的原因?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

membalas semua(1)
阿神

Tidakkah anda tahu terdapat banyak jawapan untuk soalan ini di Google?

Ringkasnya, ia adalah versi lama Flask + versi lama Python + pepijat apabila tidak menggunakan pelayan WSGI.

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan