Hi Cyril,
good catch.
On Mon 12.10.2009 23:03, Cyril Bonté wrote:
Hello,
as discussed previously with Willy Tarreau, I'd like to propose a patch
for the appsession code.
This patch has 2 goals :
[snipp]
diff -Naur haproxy-1.4-dev4/src/proto_http.c
haproxy-1.4-dev4-appsession/src/proto_http.c
+++ haproxy-1.4-dev4-appsession/src/proto_http.c 2009-10-12
21:56:38.000000000 +0200
@@ -3557,6 +3557,71 @@
/*
+ * Try to retrieve the server associated to the appsession.
+ * If the server is found, it's assigned to the session.
+ */
+void manage_client_side_appsession(struct session *t, char *buf) {
[snipp]
+}
+
+/*
-#if defined(DEBUG_HASH)
- Alert("manage_client_side_cookies\n");
-
appsession_hash_dump(&(t->be->htbl_proxy));
-#endif
After a quick look I think it would be nice to dump the sessions also
in the client.
BR
Aleks