<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic httpd Documentation/Code Discrepancies in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/httpd-Documentation-Code-Discrepancies/m-p/164552#M1512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using MQX 3.8 with RTCS, I'm having timeout issues with my hosted http server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From httpd_cnfg.h, the following are unused:&lt;/P&gt;&lt;P&gt;HTTPD_TIMEOUT_REQ_MS&lt;/P&gt;&lt;P&gt;HTTPD_TIMEOUT_SEND_MS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From httpd.c, the following do not match the documentation "default":&lt;/P&gt;&lt;P&gt;OPT_SEND_TIMEOUT - Doc "Default": 4 Mins (240,000 ms), Hardcoded Value: 500 ms&lt;/P&gt;&lt;P&gt;OPT_CONNECT_TIMEOUT - Doc "Default": 480,000 ms, Hardcoded Value: 5000 ms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 May 2012 02:57:18 GMT</pubDate>
    <dc:creator>dspNeil</dc:creator>
    <dc:date>2012-05-19T02:57:18Z</dc:date>
    <item>
      <title>httpd Documentation/Code Discrepancies</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/httpd-Documentation-Code-Discrepancies/m-p/164552#M1512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using MQX 3.8 with RTCS, I'm having timeout issues with my hosted http server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From httpd_cnfg.h, the following are unused:&lt;/P&gt;&lt;P&gt;HTTPD_TIMEOUT_REQ_MS&lt;/P&gt;&lt;P&gt;HTTPD_TIMEOUT_SEND_MS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From httpd.c, the following do not match the documentation "default":&lt;/P&gt;&lt;P&gt;OPT_SEND_TIMEOUT - Doc "Default": 4 Mins (240,000 ms), Hardcoded Value: 500 ms&lt;/P&gt;&lt;P&gt;OPT_CONNECT_TIMEOUT - Doc "Default": 480,000 ms, Hardcoded Value: 5000 ms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2012 02:57:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/httpd-Documentation-Code-Discrepancies/m-p/164552#M1512</guid>
      <dc:creator>dspNeil</dc:creator>
      <dc:date>2012-05-19T02:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: httpd Documentation/Code Discrepancies</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/httpd-Documentation-Code-Discrepancies/m-p/164553#M1513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Neil!&lt;/P&gt;&lt;P&gt;I would like to thank you for your observations and comments, we will be taking a really close approach to that. &lt;/P&gt;&lt;P&gt;Our technicians are currently working on the issues! Thanks a lot for your patience!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Monica.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 00:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/httpd-Documentation-Code-Discrepancies/m-p/164553#M1513</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2012-11-09T00:18:41Z</dc:date>
    </item>
  </channel>
</rss>

