httpd Documentation/Code Discrepancies

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

httpd Documentation/Code Discrepancies

960件の閲覧回数
dspNeil
Contributor III

Using MQX 3.8 with RTCS, I'm having timeout issues with my hosted http server.

 

Digging through the code, I've found that in several cases, the #defines in httpd_cnfg.h are not actually used, and values are hard-coded into httpd.c, that are an order of magnitude shorter than the "defaults" called out in the RTCS User Guide.

 

From httpd_cnfg.h, the following are unused:

HTTPD_TIMEOUT_REQ_MS

HTTPD_TIMEOUT_SEND_MS

 

From httpd.c, the following do not match the documentation "default":

OPT_SEND_TIMEOUT - Doc "Default": 4 Mins (240,000 ms), Hardcoded Value: 500 ms

OPT_CONNECT_TIMEOUT - Doc "Default": 480,000 ms, Hardcoded Value: 5000 ms

 

I know that I can override these in my implementation, however what should they be? The values are so different that I question if either is right, or if an engineer just randomly picked numbers. It's really unfortunate that issues like this exist. I would have never looked into this had I not of received a direct customer complaint about our server not working over very latent connections.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

789件の閲覧回数
Monica
Senior Contributor III

Hey Neil!

I would like to thank you for your observations and comments, we will be taking a really close approach to that.

Our technicians are currently working on the issues! Thanks a lot for your patience!

Regards,

Monica.

0 件の賞賛
返信