# cherrypy.test.test_conn module

Tests for TCP connection handling, including proper and timely close.

class cherrypy.test.test_conn.BadRequestTests(methodName='runTest')

  Bases: `CPWebCase`

  _classSetupFailed = False
  _class_cleanups = []
  static setup_server()
  test_No_CRLF()

class cherrypy.test.test_conn.ConnectionCloseTests(methodName='runTest')

  Bases: `CPWebCase`

  _classSetupFailed = False
  _class_cleanups = []
  _streaming(set_cl)
  static setup_server()
  test_HTTP10_KeepAlive()
  test_HTTP11()
  test_Streaming_no_len()
  test_Streaming_with_len()

class cherrypy.test.test_conn.ConnectionTests(methodName='runTest')

  Bases: `CPWebCase`

  _classSetupFailed = False
  _class_cleanups = []
  static setup_server()
  test_598()
  test_Chunked_Encoding()
  test_Content_Length_in()
  test_Content_Length_out_postheaders()
  test_Content_Length_out_preheaders()
  test_No_Message_Body()
  test_readall_or_close()

class cherrypy.test.test_conn.LimitedRequestQueueTests(methodName='runTest')

  Bases: `CPWebCase`

  _classSetupFailed = False
  _class_cleanups = []
  static setup_server()
  test_queue_full()

class cherrypy.test.test_conn.PipelineTests(methodName='runTest')

  Bases: `CPWebCase`

  _classSetupFailed = False
  _class_cleanups = []
  static setup_server()
  test_100_Continue()
  test_HTTP11_Timeout()
  test_HTTP11_Timeout_after_request()
  test_HTTP11_pipelining()

cherrypy.test.test_conn.setup_server()

cherrypy.test.test_conn.setup_upload_server()

cherrypy.test.test_conn.socket_reset_errors = [104, 'Remote end closed connection without response']

  reset error numbers available on this platform