mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't create SAM session is local destination exists
This commit is contained in:
parent
c047544cdb
commit
30233bed77
4 changed files with 23 additions and 20 deletions
2
SAM.h
2
SAM.h
|
@ -20,6 +20,7 @@ namespace stream
|
|||
const char SAM_SESSION_CREATE[] = "SESSION CREATE";
|
||||
const char SAM_SESSION_CREATE_REPLY_OK[] = "SESSION STATUS RESULT=OK DESTINATION=";
|
||||
const char SAM_SESSION_CREATE_DUPLICATED_ID[] = "SESSION STATUS RESULT=DUPLICATED_ID\n";
|
||||
const char SAM_SESSION_CREATE_DUPLICATED_DEST[] = "SESSION STATUS RESULT=DUPLICATED_DEST\n";
|
||||
const char SAM_STREAM_CONNECT[] = "STREAM CONNECT";
|
||||
const char SAM_STREAM_STATUS_OK[] = "STREAM STATUS RESULT=OK\n";
|
||||
const char SAM_STREAM_STATUS_INVALID_ID[] = "STREAM STATUS RESULT=INVALID_ID\n";
|
||||
|
@ -94,7 +95,6 @@ namespace stream
|
|||
{
|
||||
StreamingDestination * localDestination;
|
||||
std::list<SAMSocket *> sockets;
|
||||
bool isTransient;
|
||||
};
|
||||
|
||||
class SAMBridge
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue