1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

Use a mutex to control read/write for IVM values, so we can reuse the existing structures without running into race conditions.

This should get rid of the need to have MaxConnectionsPerChild set to > 0.

If a new value is set and is a string, we either use the existing varbuf or grow it accordingly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470156 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2013-04-20 12:26:05 +00:00
parent 35f9ad9165
commit 98ebff29d7
3 changed files with 35 additions and 12 deletions

View File

@@ -40,6 +40,7 @@ typedef struct
typedef struct {
int type;
size_t size;
size_t vb_size;
lua_Number number;
struct ap_varbuf vb;
} lua_ivm_object;