Skip to content
Tcl Source Code History Of Ticket 3599395fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3599395fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3599395fffffffffffffffffffffffffffffffff

  1. Ticket change [c0a21d0069] (rid 102443) by dvrsn on 2013-01-04 00:30:43:

    1. assignee initialized to: "patthoyts"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The http package implicitly assumes that the response status line is a proper tcl list.  The http specification does not guarantee this:
            Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
            Reason-Phrase  = *<TEXT, excluding CR, LF>
      
      If the http status like is, for example
      HTTP/1.0 200 This server is "ok", for now
      http::geturl will choke on it with an error like
      
      list element in quotes followed by "," instead of space
          while executing
      "lindex $state(http) 1"
          (procedure "http::Event" line 26)
          invoked from within
      "http::Event sock6 ::http::2"
      
      The line at fault appears to be
                  if {$state(http) == "" || [lindex $state(http) 1] == 100} {
      
      Changing that to 
                  if {$state(http) == "" || [string is list $state(http)] && [lindex $state(http) 1] == 100} {
      
      would fix this error, although it might then miss the "100 Continue" status it was looking for.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dvrsn"
    10. subsystem initialized to: "29. http Package"
    11. title initialized to: "http assumes status line is a proper tcl list"
    12. type initialized to: "Bug"
  2. Ticket change [a3f6a17318] (rid 110132) by dkf on 2013-01-04 08:49:42:

    1. icomment:
      It would be more elegant to parse the first line properly according to the spec (version id <SPACE> code <SPACE> arbitrary string <EOL>) as that avoids other problems. Probably also ought to check that the version id is something we grok, to avoid the weird problems documented in another bug report (whose number I forget) where the server didn't bother to send back any HTTP headers at all...
      
      Which version of Tcl (or the http package) is this a bug report for?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [76dda01fd9] (rid 105660) by dvrsn on 2013-01-05 01:55:02:

    1. icomment:
      I initially encountered this problem with tcl 8.5/http 2.7.2, but it still occurs with tcl 8.6/http 2.8.4.
      
      
    2. login: "dvrsn"
    3. mimetype: "text/plain"
    4. username: "dvrsn"
  4. Ticket change [7e4c4eadc1] (rid 97389) by sebres on 2013-01-07 19:28:41:

    1. icomment:
      Sorry, I've already fixed this problem for me in 8.5, but forgot it to announce...
      Patch for http 2.7.10 is attached...
      
      
    2. login: "sebres"
    3. mimetype: "text/plain"
    4. username: "sebres"
  5. Add attachment "http.tcl.patch" [ffc638bc2d] (rid 108819) by sebres on 2013-01-07 19:29:35.

  6. Ticket change [c95338fe1c] (rid 122263) by sebres on 2013-01-07 19:29:35:

    1. icomment:
      
      
      File Added - 458882: http.tcl.patch
      
      
      
    2. login: "sebres"
    3. mimetype: "text/plain"
    4. username: "sebres"
  7. Ticket change [9700ae640e] (rid 106432) by sebres on 2013-01-07 20:08:30:

    1. icomment:
      If we are talking about the topic of HTTP, I had still an issue with KeepAlive (and forget as well to annonce you the patch). Unfortunately, I have no test case for this. But it is understandable by patch.
      see bug 3599789
      
      
    2. login: "sebres"
    3. mimetype: "text/plain"
    4. username: "sebres"
  8. Ticket change [654222b7fe] (rid 92917) by nijtmans on 2013-01-09 21:18:59:

    1. assignee changed to: "nijtmans"
    2. closedate changed to: "2013-01-09T14:18:59"
    3. closer changed to: "nijtmans"
    4. icomment:
      Fixed in core-8-5-branch and trunk
      
      
    5. login: "nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "nijtmans"