Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

http blank ncode

已查看 43 次
跳至第一个未读帖子

Brad Lanam

未读,
2018年7月8日 11:19:142018/7/8
收件人
Well, an annoying bug.
http would occasionally return a empty ncode.
I believe all the meta data was empty.

Intermittent. Only happens on Windows.

I already have retry code in my http utility (to handle 401),
so I just run a retry when I get an empty ncode.

This is running against my own Tcl web server, so
could easily be on my end, but not sure why it
is intermittent and rare.

Harald Oehlmann

未读,
2018年7月26日 08:24:502018/7/26
收件人
Brad,

maybe you hit a bug fixed in 8.6.8 ?

https://core.tcl.tk/tcl/info/46b6edad51e645c7

Just a guess,
Harald

Brad Lanam

未读,
2018年7月26日 08:36:062018/7/26
收件人
I am running 8.6.8.

No, this bug wasn't related.
I have not had time to try and track it down.
I am working around it by just forcing a retry (which I already had code for
in my http utilities).

I gave up trying to make http handle concurrent requests.
I just push them on a stack and wait.
(Also, I am using digest authentication, so I have to wait between
requests, otherwise the counters get mangled -- maybe I have
implementation issues there).
But I've got my own tcl web server, so that could be a bug on my end, either
on the server side or the client side. And yes, I have keepalive enabled.


Harald Oehlmann

未读,
2018年7月26日 08:41:072018/7/26
收件人
Ok, good luck,
Harald
0 个新帖子