Skip to content
Tcl Source Code History Of Ticket 2a94652ee1
Login

History Of Ticket 2a94652ee1

Artifacts Associated With Ticket 2a94652ee1

  1. Ticket change [e80865243f] (rid 155739) by oehhar on 2017-08-30 14:23:17:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      http 2.8.11 package does not correctly ignore "100 Continue" replies.
      The relevant code is broken.
      
      What happens?
      [https://tools.ietf.org/html/rfc7231#section-6.2.1]
      
      The first line of a web server reply contains the status.
      If this is:
      <verbatim>
      HTTP/1.1 100 Contine
      </verbatim>
      the real header will follow as a following line.
      
      The current code correctly ignores the continue status, but does not expect a following status line.
      
      The insertion of a set to state "connecting" fixes that (around line 1034):
      <verbatim>
      proc http::Event {sock token} {
      ...
      	    # We ignore HTTP/1.1 100 Continue returns. RFC2616 sec 8.2.3
      	    if {$state(http) == "" || ([regexp {^\S+\s(\d+)} $state(http) {} x] && $x == 100)} {
      		set state(state) "connecting"
      		return
      	    }
      </verbatim>
      
      At least, inserting this line cured the communication for me with TCLWS and a .net server.
      
    5. foundin initialized to: "8.6.7"
    6. is_private initialized to: "0"
    7. login: "oehhar"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
    10. resolution initialized to: "None"
    11. severity initialized to: "Critical"
    12. status initialized to: "Open"
    13. submitter initialized to: "oehhar"
    14. subsystem initialized to: "29. http Package"
    15. title initialized to: "http package reply "100 continue" code broken"
    16. type initialized to: "Bug"
  2. Ticket change [f9eca365ce] (rid 155761) by oehhar on 2017-08-31 06:35:22:

    1. assignee changed to: "oehhar"
    2. icomment:
      Branch [bug-2a94652ee1] with commit [b80bf5033f] inserts the proposed line and increses the version number of the http number.
      
      I would appreciate a review before merge or just a merge.
      
      The fix is IMHO ok and works well for me.
      The review is mor for formal issues like version number increment and targeting branches.
      
    3. login: "oehhar"
    4. mimetype: "text/x-fossil-wiki"
    5. status changed to: "Pending"
    6. username: "oehhar"
  3. Ticket change [f2a5e11e9c] (rid 155767) by jan.nijtmans on 2017-08-31 08:56:30:

    1. icomment:
      Well, I cannot find anything wrong with it. So, just go ahead (with merging to core-8-6-branch -> trunk -> novem)! Thanks!
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  4. Ticket change [c48bc09b6f] (rid 155771) by oehhar on 2017-08-31 10:03:56:

    1. closedate changed to: "2457996.91940328"
    2. closer changed to: "oehhar"
    3. icomment:
      Ok, committed to all branches.
      
      Thank you !
      
    4. login: "oehhar"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "oehhar"