Properly exit the upnp device pulse when a loop is detected.
This commit is contained in:
parent
8a7edafb4e
commit
5b58c7aec0
|
@ -679,6 +679,8 @@ devicePulse( tr_upnp_device_t * dev, tr_fd_t * fdlimit, int port )
|
|||
dev->host, dev->state );
|
||||
dev->state = UPNPDEV_STATE_ERROR;
|
||||
dev->looping = 0;
|
||||
killHttp( fdlimit, &dev->http );
|
||||
return 1;
|
||||
}
|
||||
|
||||
laststate = dev->state;
|
||||
|
|
Loading…
Reference in New Issue