"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libhttp/httpconnection.c" between
shellinabox-2.19.tar.gz and shellinabox-2.20.tar.gz

About: shellinabox implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser. Fork of the no longer maintained original version on https://shellinabox.com/ respectively https://code.google.com/archive/p/shellinabox/.

httpconnection.c  (shellinabox-2.19):httpconnection.c  (shellinabox-2.20)
skipping to change at line 433 skipping to change at line 433
http->callback = NULL; http->callback = NULL;
http->isSuspended = 0; http->isSuspended = 0;
http->isPartialReply = 0; http->isPartialReply = 0;
} }
httpSetState(http, COMMAND); httpSetState(http, COMMAND);
if (logIsInfo()) { if (logIsInfo()) {
debug("[http] Closing connection to %s:%d", debug("[http] Closing connection to %s:%d",
http->peerName ? http->peerName : "???", http->peerPort); http->peerName ? http->peerName : "???", http->peerPort);
} }
httpShutdown(http, http->closed ? SHUT_WR : SHUT_RDWR); httpShutdown(http, http->closed ? SHUT_WR : SHUT_RDWR);
dcheck(!close(http->fd)); dcheck(!close(http->fd) || errno != EBADF);
free(http->peerName); free(http->peerName);
free(http->url); free(http->url);
free(http->method); free(http->method);
free(http->path); free(http->path);
free(http->matchedPath); free(http->matchedPath);
free(http->pathInfo); free(http->pathInfo);
free(http->query); free(http->query);
free(http->version); free(http->version);
destroyHashMap(&http->header); destroyHashMap(&http->header);
free(http->partial); free(http->partial);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS