set the log xid before we read the POST data
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 13 Jan 2009 22:58:12 +0000 (22:58 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 13 Jan 2009 22:58:12 +0000 (22:58 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1622 9efc2488-bf62-4759-914b-345cdb29e865

src/gateway/osrf_http_translator.c

index 17101dd..9d278b3 100644 (file)
@@ -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);