Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package goaccess for openSUSE:Factory checked in at 2021-07-05 22:23:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/goaccess (Old) and /work/SRC/openSUSE:Factory/.goaccess.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "goaccess" Mon Jul 5 22:23:00 2021 rev:13 rq:904050 version:1.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/goaccess/goaccess.changes 2021-06-01 10:38:31.780922137 +0200 +++ /work/SRC/openSUSE:Factory/.goaccess.new.2625/goaccess.changes 2021-07-05 22:23:33.773451305 +0200 @@ -1,0 +2,12 @@ +Mon Jul 5 07:53:31 UTC 2021 - Michael Vetter <[email protected]> + +- Update to 1.5.1: + - Changed official deb repo so it now builds '--with-getline' in order to + support request lines longer than 4096. + - Ensure there's no tail delay if the log file hasn't changed. + - Fixed data race when writing to a self-pipe and attempting to stop the WS server. + - Fixed inability to close expanded panel when pressing 'q' on TUI. + - Fixed possible data race during parsing spinner label assignment. + - Increased the maximum number of files to monitor from '512' to '3072'. + +------------------------------------------------------------------- Old: ---- goaccess-1.5.tar.gz New: ---- goaccess-1.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ goaccess.spec ++++++ --- /var/tmp/diff_new_pack.CfPznL/_old 2021-07-05 22:23:34.229447776 +0200 +++ /var/tmp/diff_new_pack.CfPznL/_new 2021-07-05 22:23:34.233447745 +0200 @@ -21,7 +21,7 @@ %global goaccess_services [email protected] [email protected] Name: goaccess -Version: 1.5 +Version: 1.5.1 Release: 0 Summary: Apache Web Log Analyzer License: GPL-2.0-or-later ++++++ goaccess-1.5.tar.gz -> goaccess-1.5.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/AUTHORS new/goaccess-1.5.1/AUTHORS --- old/goaccess-1.5/AUTHORS 2021-05-26 01:00:41.000000000 +0200 +++ new/goaccess-1.5.1/AUTHORS 2021-06-29 00:38:22.000000000 +0200 @@ -10,6 +10,7 @@ * aishikoyo <[email protected]> * Alan Placidina <[email protected]> * Alexander Eifler <[email protected]> + * Alexandre GUIOT--VALENTIN <[email protected]> * Alexandre Perrin <[email protected]> * A. Nackov <[email protected]> * Anders Johansson <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/ChangeLog new/goaccess-1.5.1/ChangeLog --- old/goaccess-1.5/ChangeLog 2021-05-26 01:00:41.000000000 +0200 +++ new/goaccess-1.5.1/ChangeLog 2021-06-29 00:48:12.000000000 +0200 @@ -1,3 +1,13 @@ +Changes to GoAccess 1.5.1 - Wednesday, June 30, 2021 + + - Changed official deb repo so it now builds '--with-getline' in order to + support request lines longer than 4096. + - Ensure there's no tail delay if the log file hasn't changed. + - Fixed data race when writing to a self-pipe and attempting to stop the WS server. + - Fixed inability to close expanded panel when pressing 'q' on TUI. + - Fixed possible data race during parsing spinner label assignment. + - Increased the maximum number of files to monitor from '512' to '3072'. + Changes to GoAccess 1.5 - Wednesday, May 26, 2021 - Added a Docker container based isolated build environment (Debian). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/Makefile.am new/goaccess-1.5.1/Makefile.am --- old/goaccess-1.5/Makefile.am 2021-05-25 15:32:30.000000000 +0200 +++ new/goaccess-1.5.1/Makefile.am 2021-06-29 00:30:30.000000000 +0200 @@ -46,8 +46,8 @@ # Tpls src/tpls.h: bin2c$(EXEEXT) $(srcdir)/resources/tpls.html if HAS_SEDTR - cat $(srcdir)/resources/tpls.html | sed "s/^[[:space:]]*//" | sed "/^$$/d" | tr -d "\r\n" > resources/tpls.html.tmp - ./bin2c resources/tpls.html.tmp src/tpls.h tpls + cat $(srcdir)/resources/tpls.html | sed "s/^[[:space:]]*//" | sed "/^$$/d" | tr -d "\r\n" > $(srcdir)/resources/tpls.html.tmp + ./bin2c $(srcdir)/resources/tpls.html.tmp src/tpls.h tpls else ./bin2c $(srcdir)/resources/tpls.html src/tpls.h tpls endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/Makefile.in new/goaccess-1.5.1/Makefile.in --- old/goaccess-1.5/Makefile.in 2021-05-26 01:11:15.000000000 +0200 +++ new/goaccess-1.5.1/Makefile.in 2021-06-29 00:49:22.000000000 +0200 @@ -1348,8 +1348,8 @@ # Tpls src/tpls.h: bin2c$(EXEEXT) $(srcdir)/resources/tpls.html -@HAS_SEDTR_TRUE@ cat $(srcdir)/resources/tpls.html | sed "s/^[[:space:]]*//" | sed "/^$$/d" | tr -d "\r\n" > resources/tpls.html.tmp -@HAS_SEDTR_TRUE@ ./bin2c resources/tpls.html.tmp src/tpls.h tpls +@HAS_SEDTR_TRUE@ cat $(srcdir)/resources/tpls.html | sed "s/^[[:space:]]*//" | sed "/^$$/d" | tr -d "\r\n" > $(srcdir)/resources/tpls.html.tmp +@HAS_SEDTR_TRUE@ ./bin2c $(srcdir)/resources/tpls.html.tmp src/tpls.h tpls @HAS_SEDTR_FALSE@ ./bin2c $(srcdir)/resources/tpls.html src/tpls.h tpls # Bootstrap src/bootstrapcss.h: bin2c$(EXEEXT) $(srcdir)/resources/css/bootstrap.min.css diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/NEWS new/goaccess-1.5.1/NEWS --- old/goaccess-1.5/NEWS 2021-05-26 02:10:09.000000000 +0200 +++ new/goaccess-1.5.1/NEWS 2021-06-29 00:32:28.000000000 +0200 @@ -2,6 +2,8 @@ Gerardo Orellana <[email protected]> * Version history: + - 1.5.1 [Wednesday, Jun 30, 2021] + . GoAccess 1.5.1 Released. See ChangeLog for new features/bug-fixes. - 1.5 [Wednesday, May 26, 2021] . GoAccess 1.5 Released. See ChangeLog for new features/bug-fixes. - 1.4.6 [Sunday, February 28, 2021] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/configure new/goaccess-1.5.1/configure --- old/goaccess-1.5/configure 2021-05-26 01:11:15.000000000 +0200 +++ new/goaccess-1.5.1/configure 2021-06-29 00:49:23.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for goaccess 1.5. +# Generated by GNU Autoconf 2.69 for goaccess 1.5.1. # # Report bugs to <[email protected]>. # @@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='goaccess' PACKAGE_TARNAME='goaccess' -PACKAGE_VERSION='1.5' -PACKAGE_STRING='goaccess 1.5' +PACKAGE_VERSION='1.5.1' +PACKAGE_STRING='goaccess 1.5.1' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='https://goaccess.io' @@ -1333,7 +1333,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures goaccess 1.5 to adapt to many kinds of systems. +\`configure' configures goaccess 1.5.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1404,7 +1404,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of goaccess 1.5:";; + short | recursive ) echo "Configuration of goaccess 1.5.1:";; esac cat <<\_ACEOF @@ -1514,7 +1514,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -goaccess configure 1.5 +goaccess configure 1.5.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2067,7 +2067,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by goaccess $as_me 1.5, which was +It was created by goaccess $as_me 1.5.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2934,7 +2934,7 @@ # Define the identity of the package. PACKAGE='goaccess' - VERSION='1.5' + VERSION='1.5.1' cat >>confdefs.h <<_ACEOF @@ -9658,7 +9658,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by goaccess $as_me 1.5, which was +This file was extended by goaccess $as_me 1.5.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9725,7 +9725,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -goaccess config.status 1.5 +goaccess config.status 1.5.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/configure.ac new/goaccess-1.5.1/configure.ac --- old/goaccess-1.5/configure.ac 2021-05-26 01:00:41.000000000 +0200 +++ new/goaccess-1.5.1/configure.ac 2021-06-29 00:30:57.000000000 +0200 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([goaccess],[1.5],[[email protected]],[],[https://goaccess.io]) +AC_INIT([goaccess],[1.5.1],[[email protected]],[],[https://goaccess.io]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/goaccess.c]) AC_CONFIG_HEADERS([src/config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/goaccess.1 new/goaccess-1.5.1/goaccess.1 --- old/goaccess-1.5/goaccess.1 2021-05-26 01:57:05.000000000 +0200 +++ new/goaccess-1.5.1/goaccess.1 2021-06-29 02:34:07.000000000 +0200 @@ -1,4 +1,4 @@ -.TH goaccess 1 "MAY 2021" GNU+Linux "User Manuals" +.TH goaccess 1 "JUNE 2021" GNU+Linux "User Manuals" .SH NAME goaccess \- fast web log analyzer and interactive viewer. .SH SYNOPSIS @@ -1186,7 +1186,7 @@ Each active panel has a total of 366 items or 50 in the real-time HTML report. The number of items is customizable using .I max-items -However, only the CSV and JSON output allow a maximum number greater than the +Note that HTML, CSV and JSON output allow a maximum number greater than the default value of 366 items per panel. .P A hit is a request (line in the access log), e.g., 10 requests = 10 hits. HTTP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/de.po new/goaccess-1.5.1/po/de.po --- old/goaccess-1.5/po/de.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/de.po 2021-06-29 00:49:40.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2019-05-05 16:03+0200\n" "Last-Translator: Axel Wehner <[email protected]>\n" "Language: de\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/es.po new/goaccess-1.5.1/po/es.po --- old/goaccess-1.5/po/es.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/es.po 2021-06-29 00:49:40.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Goaccess\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2017-08-04 13:00-0300\n" "Last-Translator: Enrique Becerra <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/fr.po new/goaccess-1.5.1/po/fr.po --- old/goaccess-1.5/po/fr.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/fr.po 2021-06-29 00:49:40.000000000 +0200 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: goaccess 1.4\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2020-07-10 11:44+0200\n" "Last-Translator: Coban L. <[email protected]>\n" "Language-Team: fran??ais\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/goaccess.pot new/goaccess-1.5.1/po/goaccess.pot --- old/goaccess-1.5/po/goaccess.pot 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/goaccess.pot 2021-06-29 00:49:40.000000000 +0200 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: goaccess 1.5\n" +"Project-Id-Version: goaccess 1.5.1\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/ja.po new/goaccess-1.5.1/po/ja.po --- old/goaccess-1.5/po/ja.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/ja.po 2021-06-29 00:49:40.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: goaccess 1.3\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2020-08-19 06:27+0900\n" "Last-Translator: Kamino <[email protected]>\n" "Language-Team: Japanese\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/pt_BR.po new/goaccess-1.5.1/po/pt_BR.po --- old/goaccess-1.5/po/pt_BR.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/pt_BR.po 2021-06-29 00:49:40.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: Goaccess\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2019-04-25 20:34-0300\n" "Last-Translator: Alan Placidina Maria <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/ru.po new/goaccess-1.5.1/po/ru.po --- old/goaccess-1.5/po/ru.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/ru.po 2021-06-29 00:49:40.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: goaccess 1.4\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2020-06-25 17:14+0300\n" "Last-Translator: Artyom Karlov <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/sv.po new/goaccess-1.5.1/po/sv.po --- old/goaccess-1.5/po/sv.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/sv.po 2021-06-29 00:49:40.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: goaccess 1.3\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2018-12-13 22:48-0600\n" "Last-Translator: Anders Johansson <[email protected]>\n" "Language-Team: none\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/uk.po new/goaccess-1.5.1/po/uk.po --- old/goaccess-1.5/po/uk.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/uk.po 2021-06-29 00:49:40.000000000 +0200 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: goaccess 1.4\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2020-06-25 17:12+0300\n" "Last-Translator: Artyom Karlov <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/po/zh_CN.po new/goaccess-1.5.1/po/zh_CN.po --- old/goaccess-1.5/po/zh_CN.po 2021-05-26 01:54:08.000000000 +0200 +++ new/goaccess-1.5.1/po/zh_CN.po 2021-06-29 00:49:40.000000000 +0200 @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: goaccess 1.2\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2021-05-25 18:54-0500\n" +"POT-Creation-Date: 2021-06-28 17:49-0500\n" "PO-Revision-Date: 2017-04-03 09:43+0200\n" "Last-Translator: Ai<[email protected]>\n" "Language-Team: Ai\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/src/commons.h new/goaccess-1.5.1/src/commons.h --- old/goaccess-1.5/src/commons.h 2021-05-26 01:40:33.000000000 +0200 +++ new/goaccess-1.5.1/src/commons.h 2021-06-29 00:30:30.000000000 +0200 @@ -43,7 +43,7 @@ #define __attribute__(x) /**/ #endif #define GO_UNUSED __attribute__((unused)) -#define GO_VERSION "1.5" +#define GO_VERSION "1.5.1" #define GO_WEBSITE "https://goaccess.io/" extern struct tm now_tm; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/src/goaccess.c new/goaccess-1.5.1/src/goaccess.c --- old/goaccess-1.5/src/goaccess.c 2021-05-26 01:40:33.000000000 +0200 +++ new/goaccess-1.5.1/src/goaccess.c 2021-06-29 00:30:30.000000000 +0200 @@ -802,7 +802,10 @@ glog->inode = fdstat.st_ino; } -/* Process appended log data */ +/* Process appended log data + * + * If nothing changed, 1 is returned. + * If log file changed, 0 is returned. */ static int perform_tail_follow (GLog * glog) { FILE *fp = NULL; @@ -983,10 +986,11 @@ int i; for (i = 0; i < logs->size; ++i) { - if (perform_tail_follow (&logs->glog[i]) == 0) { - offset = *logs->processed - logs->offset; - render_screens (offset); - } + if (perform_tail_follow (&logs->glog[i]) != 0) + continue; + + offset = *logs->processed - logs->offset; + render_screens (offset); if (nanosleep (&ts, NULL) == -1 && errno != EINTR) { FATAL ("nanosleep: %s", strerror (errno)); } @@ -1012,7 +1016,7 @@ quit = 0; break; } - if (collapse_current_module ()) + if (collapse_current_module () == 0) render_screens (offset); break; case KEY_F (1): @@ -1232,7 +1236,10 @@ /* perform some additional checks before parsing panels */ verify_panels (); /* initialize storage */ + pthread_mutex_lock (&parsing_spinner->mutex); parsing_spinner->label = "SETTING UP STORAGE"; + pthread_mutex_unlock (&parsing_spinner->mutex); + init_storage (); insert_methods_protocols (); set_spec_date_format (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/src/gwsocket.c new/goaccess-1.5.1/src/gwsocket.c --- old/goaccess-1.5/src/gwsocket.c 2021-05-26 01:40:33.000000000 +0200 +++ new/goaccess-1.5.1/src/gwsocket.c 2021-06-29 00:30:30.000000000 +0200 @@ -308,8 +308,8 @@ LOG (("Unable to write to self pipe on pipeout.\n")); pthread_mutex_unlock (&gwsreader->mutex); - pthread_mutex_lock (&gwswriter->mutex); /* if it fails to write, force stop */ + pthread_mutex_lock (&gwswriter->mutex); if ((write (server->self_pipe[1], "x", 1)) == -1 && errno != EAGAIN) ws_stop (server); pthread_mutex_unlock (&gwswriter->mutex); @@ -329,7 +329,9 @@ GWSWriter *writer = (GWSWriter *) ptr_data; writer->server->onopen = onopen; + pthread_mutex_lock (&writer->mutex); set_self_pipe (writer->server->self_pipe); + pthread_mutex_unlock (&writer->mutex); /* poll(2) will block in here */ ws_start (writer->server); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.5/src/settings.h new/goaccess-1.5.1/src/settings.h --- old/goaccess-1.5/src/settings.h 2021-05-26 01:40:33.000000000 +0200 +++ new/goaccess-1.5.1/src/settings.h 2021-06-18 02:14:27.000000000 +0200 @@ -40,7 +40,7 @@ #define MAX_CUSTOM_COLORS 64 #define MAX_IGNORE_STATUS 64 #define MAX_OUTFORMATS 3 -#define MAX_FILENAMES 512 +#define MAX_FILENAMES 3072 #define MIN_DATENUM_FMT_LEN 7 #define NO_CONFIG_FILE "No config file used"
