Odd.. If you run the proxy example in the vertx-examples repository:
https://github.com/vert-x/vertx-examples/blob/master/src/raw/groovy/proxy/Server.groovy
That starts the proxy on port 8282
. If you then go into the Firefox preferences:
Preferences -> Network -> Connection Settings
And set the HTTP Proxy
to localhost
, the port
to 8282
and check the checkbox Use this proxy server for all protocols
Then typing google.com
into the address bar should show logging in the terminal window, and the browser should display:
server-data-chunk-0server-data-chunk-1server-data-chunk-2server-data-chunk-3server-data-chunk-4server-data-chunk-5server-data-chunk-6server-data-chunk-7server-data-chunk-8server-data-chunk-9
Maybe it's cached something in the browser? Try clearing the caches before navigating to google?