returning server error on disconnected jabber socket
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 24 Jul 2008 17:53:37 +0000 (17:53 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 24 Jul 2008 17:53:37 +0000 (17:53 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1369 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/osrf_http_translator.c

index a690284..63c49a5 100644 (file)
@@ -328,7 +328,7 @@ static int osrfHttpTranslatorProcess(osrfHttpTranslator* trans) {
 
         if(trans->handle->error) {
             osrfLogError(OSRF_LOG_MARK, "Transport error");
-            return HTTP_NOT_FOUND;
+            return HTTP_INTERNAL_SERVER_ERROR;
         }
 
         if(msg == NULL)