summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Sławiński2006-09-13 12:37:54 +0200
committerJoshua Judson Rosen2014-07-17 21:15:02 +0200
commit48bc33c5c5cf16fb42b1794c1f9c1887933daf15 (patch)
treefe8a5059a47af5ef2526af5351658f463304241e
parentv0.8.1 (diff)
downloadapf-48bc33c5c5cf16fb42b1794c1f9c1887933daf15.tar.gz
v0.8.2
- Fixed: bug in resource deallocation for remote admin clients
-rw-r--r--ChangeLog3
-rw-r--r--README2
-rw-r--r--configure.ac4
-rw-r--r--doc/afclient.12
-rw-r--r--doc/afclient.conf.52
-rw-r--r--doc/afserver.12
-rw-r--r--doc/afserver.conf.52
-rw-r--r--doc/en/README2
-rw-r--r--src/activefor.h2
-rw-r--r--src/server_remove.c4
10 files changed, 14 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index a7895db..52d5cd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+13.09.2006 (v0.8.2):
+ - Fixed: bug in resource deallocation for remote admin clients
+
06.04.2006 (v0.8.1):
- Fixed: enableproxy option in server's config file
- Added: clients idle time
diff --git a/README b/README
index 11c3fe6..e93a125 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-AF - Active Port Forwarder 0.8.1 - README
+AF - Active Port Forwarder 0.8.2 - README
Copyright (C) 2003-2006 jeremian - <jeremian [at] poczta.fm>
=================================================================
diff --git a/configure.ac b/configure.ac
index b09785c..dd39ada 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,8 +2,8 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT([Active port forwarder], [0.8.1], [jeremian@poczta.fm], [apf])
-AM_INIT_AUTOMAKE([apf], [0.8.1])
+AC_INIT([Active port forwarder], [0.8.2], [jeremian@poczta.fm], [apf])
+AM_INIT_AUTOMAKE([apf], [0.8.2])
AC_COPYRIGHT([
Copyright (C) 2003-2006 jeremian - <jeremian [[at]] poczta.fm>
===================
diff --git a/doc/afclient.1 b/doc/afclient.1
index eac49b4..9517f1e 100644
--- a/doc/afclient.1
+++ b/doc/afclient.1
@@ -1,4 +1,4 @@
-.TH afclient 1 "apf 0.8.1" Jeremian
+.TH afclient 1 "apf 0.8.2" Jeremian
.SH NAME
afclient \- active port forwarder client
.SH SYNOPSIS
diff --git a/doc/afclient.conf.5 b/doc/afclient.conf.5
index 35be286..fc0c86e 100644
--- a/doc/afclient.conf.5
+++ b/doc/afclient.conf.5
@@ -1,4 +1,4 @@
-.TH afclient.conf 5 "apf 0.8.1" Jeremian
+.TH afclient.conf 5 "apf 0.8.2" Jeremian
.SH NAME
afclient.conf \- Configuration File for afclient
.SH INTRODUCTION
diff --git a/doc/afserver.1 b/doc/afserver.1
index 856bbe8..6836f1f 100644
--- a/doc/afserver.1
+++ b/doc/afserver.1
@@ -1,4 +1,4 @@
-.TH afserver 1 "apf 0.8.1" Jeremian
+.TH afserver 1 "apf 0.8.2" Jeremian
.SH NAME
afserver \- active port forwarder server
.SH SYNOPSIS
diff --git a/doc/afserver.conf.5 b/doc/afserver.conf.5
index 7a17eda..5637500 100644
--- a/doc/afserver.conf.5
+++ b/doc/afserver.conf.5
@@ -1,4 +1,4 @@
-.TH afserver.conf 5 "apf 0.8.1" Jeremian
+.TH afserver.conf 5 "apf 0.8.2" Jeremian
.SH NAME
afserver.conf \- Configuration File for afserver
.SH INTRODUCTION
diff --git a/doc/en/README b/doc/en/README
index 11c3fe6..e93a125 100644
--- a/doc/en/README
+++ b/doc/en/README
@@ -1,4 +1,4 @@
-AF - Active Port Forwarder 0.8.1 - README
+AF - Active Port Forwarder 0.8.2 - README
Copyright (C) 2003-2006 jeremian - <jeremian [at] poczta.fm>
=================================================================
diff --git a/src/activefor.h b/src/activefor.h
index 8f127aa..2e667af 100644
--- a/src/activefor.h
+++ b/src/activefor.h
@@ -53,7 +53,7 @@
#define S_STATE_OPENING_CLOSED 17
#define S_STATE_KICKING 19
-#define AF_VER(info) info" v0.8.1"
+#define AF_VER(info) info" v0.8.2"
#define TYPE_TCP 1
#define TYPE_UDP 3
diff --git a/src/server_remove.c b/src/server_remove.c
index 93dcf15..53307b8 100644
--- a/src/server_remove.c
+++ b/src/server_remove.c
@@ -107,9 +107,9 @@ remove_raclient(ServerRealm* ptr, int client, fd_set* set, fd_set* wset, TaskSch
close(SslFd_get_fd(ConnectClient_get_sslFd(ServerRealm_get_raClientsTable(ptr)[client])));
FD_CLR(SslFd_get_fd(ConnectClient_get_sslFd(ServerRealm_get_raClientsTable(ptr)[client])), set);
if (scheduler) {
- if ((task = ConnectClient_get_task(ServerRealm_get_clientsTable(ptr)[client]))) {
+ if ((task = ConnectClient_get_task(ServerRealm_get_raClientsTable(ptr)[client]))) {
TaskScheduler_removeTask(scheduler, task);
- ConnectClient_set_task(ServerRealm_get_clientsTable(ptr)[client], NULL);
+ ConnectClient_set_task(ServerRealm_get_raClientsTable(ptr)[client], NULL);
}
}
SSL_clear(SslFd_get_ssl(ConnectClient_get_sslFd(ServerRealm_get_raClientsTable(ptr)[client])));