projects
/
yazproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed timeout bug for SRW/SRU operation : Could occur if XSLT
[yazproxy-moved-to-github.git]
/
src
/
limit-connect.cpp
diff --git
a/src/limit-connect.cpp
b/src/limit-connect.cpp
index
9197ea3
..
270d567
100644
(file)
--- a/
src/limit-connect.cpp
+++ b/
src/limit-connect.cpp
@@
-1,4
+1,4
@@
-/* $Id: limit-connect.cpp,v 1.1 2006-03-30 10:35:15 adam Exp $
+/* $Id: limit-connect.cpp,v 1.2 2006-04-06 16:25:21 adam Exp $
Copyright (c) 1998-2006, Index Data.
This file is part of the yazproxy.
Copyright (c) 1998-2006, Index Data.
This file is part of the yazproxy.
@@
-43,11
+43,17
@@
LimitConnect::LimitConnect()
m_peers = 0;
}
m_peers = 0;
}
+
LimitConnect::~LimitConnect()
{
cleanup(true);
}
LimitConnect::~LimitConnect()
{
cleanup(true);
}
+void LimitConnect::set_period(int sec)
+{
+ m_period = sec;
+}
+
LimitConnect::Peer::Peer(int sz, const char *peername) : m_bw(sz)
{
m_peername = xstrdup(peername);
LimitConnect::Peer::Peer(int sz, const char *peername) : m_bw(sz)
{
m_peername = xstrdup(peername);