Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Proxy Server Proxy-Connection and Connection headers question.

Proxy Server Proxy-Connection and Connection headers question.

Scheduled Pinned Locked Moved Web Development
questioncsharpsysadminhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rojan Gh
    wrote on last edited by
    #1

    Hi everyone. I'm writing some kind of transparent proxy server in C#. The code works without any problem and does what it have to do, but I am really confused about the Connection and Proxy-Connection headers in requests! As everyone knows, the Proxy-Connection is not an standard header and only signals the proxy server to keep the connection open and so, I remove this header form the request and forward the request after removal, but here is an unclear role form W3:

    HTTP/1.1 proxies MUST parse the Connection header field before a message is forwarded and, for each connection-token in this field, remove any header field(s) from the message with the same name as the connection-token.

    As W3 does not count the Proxy-Connection in the standard headers and suggests to use the Connection header instead, should I remove that header form the request before I forward it or not? Right now I am doing it but I want to make sure if I must or must not do it. :) No one?! :(

    Sojaner!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups