[prev in list] [next in list] [prev in thread] [next in thread]
List: privoxy-commits
Subject: [privoxy-commits] current jcc.c, 1.465, 1.466 loaders.c, 1.107, 1.108 loaders.h, 1.33, 1.34
From: Fabian Keil via ijbswa-commits <ijbswa-commits () lists ! sourceforge ! net>
Date: 2017-06-26 12:17:59
Message-ID: E1dPSxs-0003wm-Lu () sfs-ml-2 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22113
Modified Files:
jcc.c loaders.c loaders.h
Log Message:
Free csp resources in the thread that belongs to the csp
... instead of the main thread which has enough on
its plate already.
Sponsored by: Robert Klemme
Index: loaders.c
===================================================================
RCS file: /cvsroot/ijbswa/current/loaders.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** loaders.c 26 Jun 2017 12:17:43 -0000 1.107
--- loaders.c 26 Jun 2017 12:17:57 -0000 1.108
***************
*** 220,225 ****
last_active->next = client_list->next;
- free_csp_resources(csp);
-
#ifdef FEATURE_STATISTICS
urls_read++;
--- 220,223 ----
Index: jcc.c
===================================================================
RCS file: /cvsroot/ijbswa/current/jcc.c,v
retrieving revision 1.465
retrieving revision 1.466
diff -C2 -d -r1.465 -r1.466
*** jcc.c 26 Jun 2017 12:14:25 -0000 1.465
--- jcc.c 26 Jun 2017 12:17:57 -0000 1.466
***************
*** 3387,3390 ****
--- 3387,3392 ----
}
+ free_csp_resources(csp);
+
csp->flags &= ~CSP_FLAG_ACTIVE;
Index: loaders.h
===================================================================
RCS file: /cvsroot/ijbswa/current/loaders.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** loaders.h 24 Dec 2016 16:00:49 -0000 1.33
--- loaders.h 26 Jun 2017 12:17:57 -0000 1.34
***************
*** 40,43 ****
--- 40,44 ----
extern unsigned int sweep(void);
+ extern void free_csp_resources(struct client_state *csp);
extern char *read_config_line(FILE *fp, unsigned long *linenum, char **buf);
extern int check_file_changed(const struct file_list * current,
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ijbswa-commits mailing list
ijbswa-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ijbswa-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic