Overview
| Artifact ID: | 83f27961380e3282ae035f98e65e027aa79c70dd |
|---|---|
| Ticket: | 3472316fffffffffffffffffffffffffffffffff
fconfigure <sock> -error called twice in Connect |
| User & Date: | patthoyts on 2012-01-13 04:34:42 |
Changes
- icomment:
I'm not really sure why this didn't just get rolled into the documentation fix. Someone with more familiarity with fossil can apply this: Index: library/http/http.tcl =================================================================== --- library/http/http.tcl +++ library/http/http.tcl @@ -864,13 +864,13 @@ variable $token upvar 0 $token state global errorInfo errorCode if { [eof $state(sock)] || - [string length [fconfigure $state(sock) -error]] + [string length [set sockerr [fconfigure $state(sock) -error]]] } then { - Finish $token "connect failed [fconfigure $state(sock) -error]" 1 + Finish $token "connect failed $sockerr" 1 } else { set state(status) connect fileevent $state(sock) writable {} } return - login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"