You are reading a single comment by @michael_101 and its replies. Click here to read the full conversation.
  • The default timeout seems to be 120 seconds? from simcom.
    https://simcom.ee/documents/SIM808/SIM80­0%20Series_AT%20Command%20Manual_V1.09.p­df

    Anyway,
    GET requests testGet1 = function() {} worked fine every 30 seconds even when the service was down.
    POST requests in other hand, I tried requests every 130 seconds for more than 10 hours when the service was up. I started with 666 free memory and finished with 451. This leak occurred only once, from 666 to 451 with "no response" message.
    There were more "no response" messages but the leak occurred only on one of them.

    I will do the same test with POST requests, service down, 5 minutes interval and see if still there any memory leak.

    Is there a way to specify a 30 seconds timeout in the GET/POST requests from http module?

    Thank you.

About

Avatar for michael_101 @michael_101 started