summaryrefslogtreecommitdiffhomepage
path: root/src/test/nxt_unit_websocket_chat.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-28Fixed some function definitions.Andrew Clayton1-1/+1
Future releases of GCC will render function definitions like func() invalid by default. See the previous commit 09f88c9 ("Fixed main() prototypes in auto tests.") for details. Such functions should be defined like func(void) This is a good thing to do regardless of the upcoming GCC changes. Reviewed-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2020-11-18Libunit: improving logging consistency.Max Romanov1-4/+4
Debug logging depends on macros defined in nxt_auto_config.h.
2019-11-11Fixing libunit 'off by 2' issue in library.Max Romanov1-4/+4
Name and value in each header are 0-terminated, so additional 2 bytes should be allocated for them. There were several attempts to add these 2 bytes to headers in language modules, but some modules weren't updated. Also, adding these 2 bytes is specific to the implementation which may be changed later, so extending this mechanics to modules may cause errors.
2019-08-20Introducing websocket support in router and libunit.Max Romanov1-0/+348