[Bro-Dev] active_conns

Jonathan Siwek jsiwek at ncsa.illinois.edu
Mon Mar 21 10:41:41 PDT 2011


> > 	print c$http_session$log$method;
> 
> This is kind of neat ... We could even extend c?$http_session to check
> whether the record type has that field at all, and then use that as a
> replacement for all the "is this script loaded?" hacks currently in use ...

Why can't the "is this script loaded?" functionality be implemented as a BIF that queries some global state that the lexical scanner built up at scan/parse-time ?

- Jon


More information about the bro-dev mailing list