Multiple BeforeRequest events fired for the same session

3 posts, 0 answers
  1. Kevin
    Kevin avatar
    2 posts
    Member since:
    Mar 2014

    Posted 20 Aug 2015 Link to this post

    I've got a custom UI wrapper around FiddlerCore for a highly customized web traffic monitoring tool.  When simply logging the id and url of each session, I've noticed that there are multiple requests.  If I haven't set bBufferResponse = true, then there are 16 events fired for each session.  If bBufferResponse = true (I'd prefer it not be), then there are either 6 or 1 events fired.  Any ideas what could cause that?
  2. Kevin
    Kevin avatar
    2 posts
    Member since:
    Mar 2014

    Posted 21 Aug 2015 Link to this post

    I should also have mentioned I ignore CONNECT requests.
  3. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 21 Aug 2015 Link to this post

    Hello, Kevin--

    This typically occurs when the FiddlerCore host accidentally attaches the .BeforeRequest += Whatever handler multiple times, usually because they're starting and stopping a single FiddlerCore instance and the function that they wrote to call Start() also attaches the event handler (even if the prior event handler was already attached). 

    I'm happy to have a look at your code; feel free to email me.

    Regards,
    Eric Lawrence
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top