File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ void which_cancel( struct cell *t, branch_bm_t *cancel_bm )
5656 if (should_cancel_branch (t , i ))
5757 BRANCH_BM_SET_IDX ( * cancel_bm , i );
5858 }
59+
60+ LM_DBG ("branches to cancel [" BRANCH_BM_SPECS "], range %d:%d\n" ,
61+ BRANCH_BM_ARGS (* cancel_bm ),t -> first_branch ,t -> nr_of_outgoings - 1 );
62+
5963}
6064
6165
@@ -123,7 +127,7 @@ void cancel_branch( struct cell *t, int branch )
123127 _tm_branch_index = 0 ;
124128 }
125129
126- LM_DBG ("sending cancel...\n" );
130+ LM_DBG ("sending cancel on branch %d ...\n" , branch );
127131 if (TM_BRANCH (t ,branch ).br_flags & tcp_no_new_conn_bflag )
128132 tcp_no_new_conn = 1 ;
129133 backup_list = set_avp_list ( & t -> user_avps );
Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ inline static void final_response_handler( struct timer_link *fr_tl )
350350 context_p old_ctx ;
351351 struct retr_buf * r_buf ;
352352 struct cell * t ;
353- branch_bm_t cancel_bitmap ;
353+ branch_bm_t cancel_bitmap = BRANCH_BM_ZERO ;
354354
355355 if (fr_tl == 0 ){
356356 /* or BUG?, ignoring it for now */
You can’t perform that action at this time.
0 commit comments