Need help related to FiddlerApplication.Prefs.SetStringPref()

2 posts, 0 answers
  1. Markus
    Markus avatar
    1 posts
    Member since:
    May 2015

    Posted 03 May 2015 Link to this post



    first I want to say thank you for this fantastic and very useful tool. But I have a question regarding switching between multiple interfaces on my

    PC with FiddlerApplication.Prefs.SetStringPref(): Each time I send a Http POST Request after changing my IP with FiddlerApplication.Prefs.SetStringPref()

    it works, but if I send a GET Request my IP is not changing. Can you help me please?


    Thank You!

  2. Eric Lawrence
    Eric Lawrence avatar
    832 posts

    Posted 06 May 2015 Link to this post

    Hi, Markus--

    I think you're asking about the behavior of the "" preference. Is that correct? Can you more completely describe your scenario?

    This preference affects the local binding of the endpoint when a new TCP/IP connection is established. Taking a total shot in the dark, would I be correct in guessing that you're trying to change the value of this preference between requests without restarting Fiddler?

    If so, the problem you're encountering isn't actually related to the request method. It's related to the fact that some of the requests are getting serviced by Fiddler's pool of already-established keep-alive connections, and those connections are already established. Only when you exhaust that pool and a new connection is made is the change in the preference relevant.

    To clear the Keep-Alive pool, you can either hit CTRL+X (to clear the Session list as well) or you can use the scripting engine to call FiddlerApplication.oProxy.PurgeServerPipePool();

    Eric Lawrence
Back to Top