Jelajahi Sumber

- bug fixed (related to 6xx handling): prevent cpl to do any proxy attempt id a 6xx reply was received.

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3879 689a6050-402a-0410-94f2-e92a70836424
Bogdan-Andrei Iancu 17 tahun lalu
induk
melakukan
49254b27c5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      modules_k/cpl-c/cpl_proxy.h

+ 1 - 1
modules_k/cpl-c/cpl_proxy.h

@@ -211,7 +211,7 @@ static void reply_callback( struct cell* t, int type, struct tmcb_params* ps)
 
 	/* the current proxying failed -> do I have another location to try ?
 	 * This applies only for SERIAL forking or if RECURSE is set */
-	if (intr->proxy.last_to_proxy) {
+	if (intr->proxy.last_to_proxy && !(no_new_branches(t)) ) {
 		/* continue proxying */
 		LM_DBG("resuming proxying....\n");
 		switch (intr->proxy.ordering) {