http - Number of connections from a client to servers with proxy -


i want make simple http proxy server.

here, have problem of designing program because of number of connections.

when client attempts make connection 2 servers, there 2 connections; 1 client server , other client server b. natural; @ least think.

however, i'm confused when there proxy between client , server. thought client might make 1 connection proxy, , send of http message (to server , server b) via connection. first method natural (making 2 connections 2 servers), want double-check before starting implementation!

clients might make 1 connection proxy server (using http keepalive and/or pipelining sequentially make more 1 request through same connection), or might make multiple connections proxy server (especially if want make more 1 http request in parallel). should prepared both eventualities because it's client does.

the case of 2 http requests coming on same connection semantically identical case of same 2 http requests coming on separate connections.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -