Announcement

Collapse
No announcement yet.

Change IpDrv.u timer settings via a mutator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change IpDrv.u timer settings via a mutator

    Hey Guys,

    I am managing a server with HTTP redirect setup. Sometimes we have downloads that last more than 30 seconds. After some googling I found the issue, in IpDrv.u there's this setting that's hard coded that determines the timeout;
    Code:
    class WebConnection extends TcpLink config(Web);
    
    --<some code>--
    
    event Accepted()
    {
    	WebServer = WebServer(Owner);
    	SetTimer(30, False);
    	ConnID = WebServer.ConnID++;
    	`Logd("Connection"@ConnID@"Accepted");
    }
    I need to change the SetTimer to be like 3600 with a mutator, how can I do this? Can you guys give me an example?
Working...
X