title: WinDivert: changing GET request in tcp packet
body: <p>I'm trying to change simple GET request with pydivert (WinDivert for python)</p>
  
  <p>What i seem to encounter is problem with packet lenght.<BR>
  when i rewrite url so it has same amount or less of letters it works:<BR>
  ie. <code>GET /?a=asdf</code> => <code>GET /?a=z</code><BR></p>
  
  <p>But when i add more letters to the request, browser loops and ends up 
  without showing anything</p>
  
  <p>Below is example code i use</p>
  
  <pre><code>filter_ = "true and tcp.PayloadLength &gt; 0" 
  with Handle(filter=filter_) as handle:
  
   while True:
  
          packet = handle.receive()
  
          if packet.payload[0:3]=="GET":
              packet.payload=packet.payload.replace("GET /?a=asdf","GET /?a=gfdsazzz")
          handle.send(packet)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;?php
    echo $_GET['a'];
  ?&gt;
  </code></pre>
  
  <p>Is there somewhere a MAX packet size setted. If yes then how to increase it?</p>
  
  <p>If that would be a hint for you then if i will print all packets in console
  then i clearly see that request was responded by server because see packet.payload with <code>gfdsazzz</code></p>