- Added UPnP support (experimental) - taken from aMule CVS

This commit is contained in:
Christophe Dumez 2007-03-19 21:15:29 +00:00
parent f8e7687551
commit fd2d2ddc0b
12 changed files with 2602 additions and 4 deletions

View file

@ -1172,6 +1172,11 @@ void GUI::configureSession(bool deleteOptions){
}else{
BTSession.disableDHT();
}
#ifndef NO_UPNP
// Upnp
BTSession.enableUPnP();
#endif
// PeX
if(!options->isPeXDisabled()){
qDebug("Enabling Peer eXchange (PeX)");
BTSession.enablePeerExchange();