"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/debug.c" between
haproxy-2.2.1.tar.gz and haproxy-2.2.2.tar.gz

About: HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments.

debug.c  (haproxy-2.2.1):debug.c  (haproxy-2.2.2)
skipping to change at line 222 skipping to change at line 222
} }
else if (task->process == task_run_applet && (appctx = task->context) && else if (task->process == task_run_applet && (appctx = task->context) &&
(appctx->applet->fct == hlua_applet_tcp_fct && (hlua = appctx->c tx.hlua_apptcp.hlua))) { (appctx->applet->fct == hlua_applet_tcp_fct && (hlua = appctx->c tx.hlua_apptcp.hlua))) {
chunk_appendf(buf, "%sCurrent executing a Lua TCP service -- ", p fx); chunk_appendf(buf, "%sCurrent executing a Lua TCP service -- ", p fx);
} }
else if (task->process == task_run_applet && (appctx = task->context) && else if (task->process == task_run_applet && (appctx = task->context) &&
(appctx->applet->fct == hlua_applet_http_fct && (hlua = appctx-> ctx.hlua_apphttp.hlua))) { (appctx->applet->fct == hlua_applet_http_fct && (hlua = appctx-> ctx.hlua_apphttp.hlua))) {
chunk_appendf(buf, "%sCurrent executing a Lua HTTP service -- ", pfx); chunk_appendf(buf, "%sCurrent executing a Lua HTTP service -- ", pfx);
} }
if (hlua) { if (hlua && hlua->T) {
luaL_traceback(hlua->T, hlua->T, NULL, 0); luaL_traceback(hlua->T, hlua->T, NULL, 0);
if (!append_prefixed_str(buf, lua_tostring(hlua->T, -1), pfx, '\n ', 1)) if (!append_prefixed_str(buf, lua_tostring(hlua->T, -1), pfx, '\n ', 1))
b_putchr(buf, '\n'); b_putchr(buf, '\n');
} }
else
b_putchr(buf, '\n');
#endif #endif
} }
/* This function dumps all profiling settings. It returns 0 if the output /* This function dumps all profiling settings. It returns 0 if the output
* buffer is full and it needs to be called again, otherwise non-zero. * buffer is full and it needs to be called again, otherwise non-zero.
*/ */
static int cli_io_handler_show_threads(struct appctx *appctx) static int cli_io_handler_show_threads(struct appctx *appctx)
{ {
struct stream_interface *si = appctx->owner; struct stream_interface *si = appctx->owner;
int thr; int thr;
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

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