Summary: | [PATCH] www/lighttpd fix crashes with option MYSQLAUTH | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dirk Meyer <dinoex> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | Keywords: | patch | ||||
Priority: | --- | Flags: | dinoex:
maintainer-feedback-
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Maintainer informed via mail A commit references this bug: Author: dinoex Date: Sat Mar 19 09:38:15 UTC 2016 New revision: 411385 URL: https://svnweb.freebsd.org/changeset/ports/411385 Log: - fix crashes with option MYSQLAUTH PR: 207555 Approved by: (maintiner timeout) Changes: head/www/lighttpd/files/extra-patch-mysqlauth Tested with mysql-server started/stopped. |
Created attachment 167505 [details] Patch to extend extra-patch-mysqlauth lighttpd 1.4.35_5 worked. after upgrading lighttpd crashes after start, no messages in log. After debuging I found it calls the Auth-Module very early now, before the handle is initilized. with a modified patch 1.4.39_1 is now working again. I inserted: /* ignore if auth_mysql_socket is invalid */ if (p->conf.auth_mysql_socket == NULL) return HANDLER_GO_ON; This fixed the crash on start, and http basic auth is working with the database.