chan copy -command callback not executed
jdc <[email protected]> Mon, 27 Sep 2010 06:48:16 -0700 (PDT)
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <eec4957b-3697-4863-b6de-29f0aa203b0a@w19g2000yqb.googlegroups.com> |
Hi, When running the 'Wub' webserver from within a starkit I observe the following: - some images are served to the clients without problems (mostly jpeg and gif) - some images are not served (mostly png) When images are not served, I seems their chan copy -command callback is not executed. Looking at the file descriptors, I noticed the file descriptors for working images are named 'rechan???', while file descriptors for non-working images are cnamed 'mk???'. This difference comes from the way files are opened in vfs::mk4::open. Working images have a different 'size' and 'csize', non working have the same size and csize. Forcing vfs::mk4::open to always use the 'mk4vfs::direct' path, copying the file content to memory, solves this issue, and all images are served to the client. But this hack surely isn't addressing the root cause of this issue. Any ideas how to solve this issue? Jos. -- You received this message because you are subscribed to the "starkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/starkit?hl=en