]> git.mxchange.org Git - hub.git/commitdiff
Opps, wrong place and value for this.
authorRoland Haeder <roland@mxchange.org>
Fri, 14 Mar 2014 19:58:17 +0000 (20:58 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 14 Mar 2014 19:58:17 +0000 (20:58 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/class_BaseHubSystem.php
application/hub/main/handler/network/class_BaseRawDataHandler.php

index 78e3d55c862c39aa74bdf80e70ef0d4cb5aa6652..590f439f9865f0da54cbc39edc7160601d9ae603 100644 (file)
@@ -32,7 +32,6 @@ class BaseHubSystem extends BaseFrameworkSystem {
        const EXCEPTION_NODE_SESSION_ID_NOT_VERIFYING = 0x906;
        const EXCEPTION_REQUEST_NOT_ACCEPTED          = 0x907;
        const EXCEPTION_DHT_BOOTSTRAP_NOT_ACCEPTED    = 0x908;
-       const SOCKET_ERROR_CONNECTION_RESET_BY_PEER   = 0x909;
 
        // Message status codes
        const MESSAGE_STATUS_CODE_OKAY = 'OKAY';
index 3dba3a892f616ebcfac1bff0e0a220ff9c905786..8fcce65fe5c569368ac872190bf2179c86ba9d07 100644 (file)
@@ -35,6 +35,7 @@ class BaseRawDataHandler extends BaseHandler {
        const SOCKET_ERROR_OPERATION_ALREADY_PROGRESS = 'operation_already_progress'; // 'Operation already in progress'
        const SOCKET_ERROR_RESOURCE_UNAVAILABLE       = 'resource_unavailable';       // 'Resource temporary unavailable'
        const SOCKET_ERROR_NO_ROUTE_TO_HOST           = 'no_route_to_host';           // The name says it: no route to host
+       const SOCKET_ERROR_CONNECTION_RESET_BY_PEER   = 'reset_by_peer';              // Connection reset by peer
        const SOCKET_CONNECTED                        = 'connected';                  // Nothing errorous happens, socket is connected
 
        // - Package errors