[Bro-Dev] conn-size

Gregor Maier gregor at icir.org
Tue May 3 10:02:42 PDT 2011


Hi,

actually swapping still works.

The code below is a left-over from an earlier iteration of the conn-size
code in which the swapping did not work.... Want me to change it back or
can you do so when you merge?

thx
gregor

On 5/2/11 16:06 , Robin Sommer wrote:
> Gregor,
> 
> the following is part of your conn-size patch:
> 
>     -   RecordVal* tmp_rc = resp_endp;                                                                                                                                       
>     -   resp_endp = orig_endp;                                                                                                                                               
>     -   orig_endp = tmp_rc;                                                                                                                                                  
>     -                                                                                                                                                                        
>     +   // Delete conn_val, will build a new one next time we need one                                                                                                       
>     +   // XXX: breaks the assumption that conn_val never changes!!                
> 
> 
> Why does a swap not work anymore?
> 
> Robin
> 


-- 
Gregor Maier
<gregor at icir.org>  <gregor at icsi.berkeley.edu>
Int. Computer Science Institute (ICSI)
1947 Center St., Ste. 600
Berkeley, CA 94704, USA
http://www.icir.org/gregor/


More information about the bro-dev mailing list