parameters: (self, request)
docstring: Called to shutdown and close an individual request.
docstring_summary: Called to shutdown and close an individual request.
docstring_tokens: Called to shutdown and close an individual request .
function: def shutdown_request(self, request):
          """Called to shutdown and close an individual request."""
          try:
              #explicitly shutdown.  socket.close() merely releases
              #the socket and waits for GC to perform the actual close.
              request.shutdown(socket.SHUT_WR)
          except socket.error:
              pass #some platforms may raise ENOTCONN here
          self.close_request(request)
function_tokens: def shutdown_request ( self , request ) : try : #explicitly shutdown.  socket.close() merely releases #the socket and waits for GC to perform the actual close. request . shutdown ( socket . SHUT_WR ) except socket . error : pass #some platforms may raise ENOTCONN here self . close_request ( request )