[master] 4e373b6 Add documentation about behavior on VSM_Close.

Martin Blix Grydeland martin at varnish-cache.org
Wed May 15 14:46:14 CEST 2013


commit 4e373b6ad4d80b5e4e2c4cd7694dacae8dd72805
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Mon May 13 14:39:06 2013 +0200

    Add documentation about behavior on VSM_Close.

diff --git a/include/vapi/vsm.h b/include/vapi/vsm.h
index ef1024c..42d6e8d 100644
--- a/include/vapi/vsm.h
+++ b/include/vapi/vsm.h
@@ -124,7 +124,10 @@ int VSM_Abandoned(struct VSM_data *vd);
 
 void VSM_Close(struct VSM_data *vd);
 	/*
-	 * Close and unmap shared memory, if open.
+	 * Close and unmap shared memory, if open. Any reference to
+	 * previously returned memory areas will cause segmentation
+	 * fault. This includes any VSC counter areas or any VSL SHM
+	 * record references.
 	 */
 
 



More information about the varnish-commit mailing list