Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#21 http vfs returns never-ending memchan

v1.0 (example)
closed-works-for-me
5
2008-12-03
2004-03-03
Neil Madden
No

The following script fails for me:

package require vfs
vfs::urltype::Mount http
set t [open http://mod3.net/~nem/cgi-bin/xml.cgi/\]
while {![eof $t]} { puts [gets $t] }
close $t

It just spews out endless blank lines. The channel returned never
reaches EOF, but always returns an empty string for [gets] or
[read]. I've only seen this behaviour for the URL given above.

The URL responds correctly with data, and if I manually reproduce
what is in vfs::http::open at a tkcon prompt, everything works -
just somehow, something gets broken when I go through [open].

Discussion

  • Vince Darley
    Vince Darley
    2004-03-09

    • assigned_to: nobody --> jcw
     
  • Vince Darley
    Vince Darley
    2004-03-09

    Logged In: YES
    user_id=32170

    Looks like it might be an rchan or memchan problem.

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2008-12-03

    Can't repro due to missing this magic url now. Note that httpvfs.tcl was rewritten in 2006.

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2008-12-03

    • status: open --> closed-works-for-me