Hi,
   I'm using sipp 2.0.1.
I think I found a bug in [last_*] scenario keyword, when multiple headers are handled. Sipp should join the different header into one, separating them by a comma (,) character. What I found is that the join procedure adds the comma character over the last character of the previous header. here is a dummy example:

..
Via: 1234567890
Via: abcdefghilmn
..

becomes

..
Via: 123456789, abcdefghilmn
..

thus loosing the trailing '0' character of the first Via header.

I wrote a patch for the "call.cpp" file that SHOULD solve this problem.

The diff file is attached to this email


Bye


Giovanni Coriasco

--- call.cpp.orig       2007-05-16 11:03:38.000000000 +0200
+++ call.cpp    2007-10-23 15:25:16.000000000 +0200
@@ -1179,6 +1179,7 @@
            ((*dest == ' ') || (*dest == '\r')|| (*dest == '\t'))) {
          *(dest--) = 0;
        }
+       dest++;
 
        dest += sprintf(dest, ",");
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to