modify the use of the conn, and add the processing of the situation that a package corresponding to a request