| taskrambler
    0.1.9
    Web server and task management solution. | 
#include <unistd.h>#include <sys/stat.h>#include "class.h"#include "http/message.h"#include "queue.h"#include "http/writer.h"#include "stream.h"#include "commons.h"#include "utils/memory.h" Include dependency graph for http/writer/write.c:
 Include dependency graph for http/writer/write.c:Go to the source code of this file.
| Functions | |
| ssize_t | httpWriterWrite (void *_this, Stream st) | 
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file http/writer/write.c.
| ssize_t httpWriterWrite | ( | void * | _this, | 
| Stream | st | ||
| ) | 
if the message did not have the keep-alive feature we don't care about further pipelined messages and return to the caller with a -2 indicating that the underlying connection should be closed at their side. Then we close to connection.
Definition at line 37 of file http/writer/write.c.
References HTTP_WRITER_DONE, HTTP_WRITER_GET, HTTP_WRITER_WRITE, httpMessageHasKeepAlive(), httpMessageHeaderSizeGet(), httpMessageHeaderToString(), MEM_FREE, memGetSize(), memMalloc(), MIN, queueEmpty, queueGet(), size, streamWrite(), and WRITER_BUF_CHUNK.
Referenced by httpWorkerWrite().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: