FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Nightlies Feedback › By popular demand (11-16 nightlies) › Reply To: By popular demand (11-16 nightlies)
Umm hard to say.
Checking to see if connection matches close
And it does NOT
Thread 0: Connection type HTTP/1.1
: Connection: persist
Thread 0: Original URI: /status.html
Thread 0: Translated URI: /status.html
Thread 0: Preparing to find handler
Thread 0: URI Match!
Thread 0: Time is 1132210366 seconds after epoch
Thread 0: Setting time header
Added *Date=Thu, 17 Nov 2005 06:52:46 GMT*
Added *Connection=keep-alive*
Added *Server=mt-daapd/cvs-20051116*
Added *Content-Type=text/html*
Added *Content-Language=en_us*
Thread 0: Using non-default handler
Preparing to decode YWRtaW46YkxZamNLeXg=
Decoded admin:bLYjcKyx
Decoded user=admin, pw=bLYjcKyx
Added *HTTP_USER=admin*
Added *HTTP_PASSWD=bLYjcKyx*
Entering config_handler
[Switching to Thread 1098918240 (LWP 3576)]Breakpoint 1, config_set_status (pwsc=0xb0e930, session=11594120,
fmt=0xb0e930 “гS”) at configfile.c:1241
1241 void config_set_status(WS_CONNINFO *pwsc, int session, char *fmt, …) {
(gdb) step
1247 DPRINTF(E_DBG,L_CONF,”Entering config_set_statusn”);
(gdb)
1241 void config_set_status(WS_CONNINFO *pwsc, int session, char *fmt, …) {
(gdb)
1245 char *newmsg = NULL;
(gdb)
1241 void config_set_status(WS_CONNINFO *pwsc, int session, char *fmt, …) {
(gdb)
1247 DPRINTF(E_DBG,L_CONF,”Entering config_set_statusn”);
(gdb)
err_log (level=4321104, cat=1, fmt=0x41eef2 “Entering config_set_statusn”)
at err.c:100
100 {
(gdb)
107 if(level) {
(gdb)
100 {
(gdb)
107 if(level) {
(gdb)
108 if(level > err_debuglevel)
(gdb)
111 if(!(cat & err_debugmask))
(gdb)
115 va_start(ap, fmt);
(gdb)
116 vsnprintf(errbuf, sizeof(errbuf), fmt, ap);
(gdb)
115 va_start(ap, fmt);
(gdb)
116 vsnprintf(errbuf, sizeof(errbuf), fmt, ap);
(gdb)
115 va_start(ap, fmt);
(gdb)
116 vsnprintf(errbuf, sizeof(errbuf), fmt, ap);
(gdb)
240 if((err=pthread_mutex_lock(&err_mutex))) {
(gdb)
121 if((!level) && (err_logdestination != LOGDEST_STDERR)) {
(gdb)
127 switch(err_logdestination) {
(gdb)
137 fprintf(stderr, “%s”,errbuf);
(gdb)
Entering config_set_status
138 if(!level) fprintf(stderr,”Abortingn”);
(gdb)
256 if((err=pthread_mutex_unlock(&err_mutex))) {
(gdb)
148 if(!level) {
(gdb)
151 }
(gdb)
config_set_status (pwsc=0xb0e930, session=0,
fmt=0x41ef50 “Serving admin pages”) at configfile.c:1249
1249 if(fmt) {
(gdb)
1250 va_start(ap, fmt);
(gdb)
1251 vsnprintf(buffer, 1024, fmt, ap);
(gdb)
1250 va_start(ap, fmt);
(gdb)
1251 vsnprintf(buffer, 1024, fmt, ap);
(gdb)
1250 va_start(ap, fmt);
(gdb)
1251 vsnprintf(buffer, 1024, fmt, ap);
(gdb)
1254 newmsg = strdup(buffer);
(gdb)
1257 ws_lock_local_storage(config.server);
(gdb)
ws_lock_local_storage (pwsc=0x53b3d0) at webserver.c:1539
1539 pwsp = (WS_PRIVATE *)pwsc->pwsp;
(gdb)
1540 ws_lock_connlist(pwsp);
(gdb)
ws_lock_connlist (pwsp=0x530700) at webserver.c:175
175 void ws_lock_connlist(WS_PRIVATE *pwsp) {
(gdb)
176 if(pthread_mutex_lock(&pwsp->exit_mutex))
(gdb) step
Hangs right there :/
Post edited by: saintdev, at: 2005/11/17 05:57