CLEANUP: lua: set a dummy file name and line number on the dummy servers
authorWilly Tarreau <w@1wt.eu>
Fri, 5 Mar 2021 09:41:48 +0000 (10:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Mar 2021 14:00:24 +0000 (15:00 +0100)
commit0f143afe1b3fc71c5ea50118ed6413be55c66b40
treecc2904d9fa0093b4350ba25f41cfaf084d06f326
parent5b5974104f81f046088fca8834a05163cf387451
CLEANUP: lua: set a dummy file name and line number on the dummy servers

The "socket_tcp" and "socket_ssl" servers had no config file name nor
line number, but this is sometimes annoying during debugging or later
in error messages, while all other places using new_server() or
parse_server() make sure to have a valid file:line set. Let's set
something to address this.
src/hlua.c