快乐地耕耘着

上帝说要有光

常用链接

统计

最新评论

20060524 Work plan

今日计划:
将Socket to Socket transfer 部分的代码做一个小结。
首先清楚where are we first.
最核心的功能部分已经完成。已作完了主要功能的测试。Request direct transfer and Response direct transfer都已完成(HTTPClient部分是基于NBIO persistence的) 还需要将基于NBIO部分的功能补进来。预计时间今天上午。仔细想想不忙,先将出错处理部分以及configure 部分补全然后测试完成再在NBIO部分上补齐功能都可以,这个计划看起来更好一点。

然后将STS超时检测机制要做出来。无非是判断是否timeout 然后调用abortTransfer() 方法即可。  预计时间2个小时。 let's start with Error processing

Distracted by the Persistence code , only half day lefted .
Now something was clarified. when HttpClient Socket Channel is wirte channel and some error happened during Request transfer I need to invoke processError to make sure error get logged in both CDR file and SYS log file and Error response will be sent out to client. but if error happen during response transfer operation, actually a success access entry already write to CDR  file it's meanless to send another error response back and add a failed access entry into it. So just close the opened socket channel is enough.

posted on 2006-05-24 12:00 勤天 阅读(146) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: