"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ziproxy.c" between
ziproxy-3.3.1.tar.gz and ziproxy-3.3.2.tar.bz2

About: Ziproxy is a forwarding (non-caching) compressing http proxy server.

ziproxy.c  (ziproxy-3.3.1):ziproxy.c  (ziproxy-3.3.2.tar.bz2)
/* ziproxy.c /* ziproxy.c
* Code for processing an individual request. * Code for processing an individual request.
* *
* Ziproxy - the HTTP acceleration proxy * Ziproxy - the HTTP acceleration proxy
* This code is under the following conditions: * This code is under the following conditions:
* *
* --------------------------------------------------------------------- * ---------------------------------------------------------------------
* Copyright (c)2005-2014 Daniel Mealha Cabrita * Copyright (c)2005-2021 Daniel Mealha Cabrita
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
skipping to change at line 101 skipping to change at line 101
int i, portmatch; int i, portmatch;
/* reset debug_log timer */ /* reset debug_log timer */
debug_log_reset_difftime (); debug_log_reset_difftime ();
/* use current PID (process for a specific request) for debug_log */ /* use current PID (process for a specific request) for debug_log */
debug_log_set_pid_current (); debug_log_set_pid_current ();
/* init TOS marking TOSMarking */ /* init TOS marking TOSMarking */
if (TOSMarking) if (TOSMarking)
debug_log_puts ("TOS marking is enabled."); debug_log_puts ("TOS marking is enabled.");
if (tosmarking_init (TOSMarking, sock_child_out, TOSFlagsDefault, TOSFlag if (tosmarking_init (TOSMarking, sock_child_out, TOSFlagsDefault_cfg, TOS
sDiff, tos_markasdiff_url, tos_maskasdiff_ct, TOSMarkAsDiffSizeBT)) FlagsDiff_cfg, tos_markasdiff_url_cfg, tos_maskasdiff_ct_cfg, TOSMarkAsDiffSizeB
debug_log_printf ("TOS: default traffic set to 0x%x\n", TOSFlagsD T_cfg))
efault); debug_log_printf ("TOS: default traffic set to 0x%x\n", TOSFlagsD
efault_cfg);
if(ConnTimeout){ if(ConnTimeout){
/* catch timeouts */ /* catch timeouts */
(void) signal (SIGALRM, sigcatch); (void) signal (SIGALRM, sigcatch);
(void) alarm (ConnTimeout); (void) alarm (ConnTimeout);
} }
/* catch broken pipes */ /* catch broken pipes */
(void) signal (SIGPIPE, sigcatch); (void) signal (SIGPIPE, sigcatch);
 End of changes. 2 change blocks. 
5 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)