From: erickson Date: Tue, 13 Jan 2009 22:58:12 +0000 (+0000) Subject: set the log xid before we read the POST data X-Git-Tag: osrf_rel_2_0_1~423 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=04bec26b4c8b9175abf7fa406ce88f75c2efa09c;p=OpenSRF.git set the log xid before we read the POST data git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1622 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/gateway/osrf_http_translator.c b/src/gateway/osrf_http_translator.c index 17101dd..9d278b3 100644 --- a/src/gateway/osrf_http_translator.c +++ b/src/gateway/osrf_http_translator.c @@ -486,8 +486,8 @@ static int handler(request_rec *r) { osrfLogSetAppname("osrf_http_translator"); testConnection(r); - osrfHttpTranslator* trans = osrfNewHttpTranslator(r); osrfLogMkXid(); + osrfHttpTranslator* trans = osrfNewHttpTranslator(r); if(trans->body) { stat = osrfHttpTranslatorProcess(trans); //osrfHttpTranslatorDebug(trans);