Lines Matching refs:tf
1046 /* we do nothing with (tf->dwFlags & HSE_DISCONNECT_AFTER_SEND)
1048 HSE_TF_INFO *tf = (HSE_TF_INFO*)buf_data;
1056 if (!cid->dconf.fake_async && (tf->dwFlags & HSE_IO_ASYNC)) {
1068 if ((rv = apr_os_file_put(&fd, &tf->hFile,
1073 if (tf->BytesToWrite) {
1074 fsize = tf->BytesToWrite;
1082 fsize = fi.size - tf->Offset;
1085 /* apr_dupfile_oshandle (&fd, tf->hFile, r->pool); */
1097 if ((tf->dwFlags & HSE_IO_SEND_HEADERS) && tf->pszStatusCode) {
1098 ate = send_response_header(cid, tf->pszStatusCode,
1099 (char*)tf->pHead,
1100 strlen(tf->pszStatusCode),
1101 tf->HeadLength);
1103 else if (!cid->headers_set && tf->pHead && tf->HeadLength
1104 && *(char*)tf->pHead) {
1105 ate = send_response_header(cid, NULL, (char*)tf->pHead,
1106 0, tf->HeadLength);
1115 if (tf->pHead && (apr_size_t)ate < tf->HeadLength) {
1116 b = apr_bucket_transient_create((char*)tf->pHead + ate,
1117 tf->HeadLength - ate,
1120 sent = tf->HeadLength;
1124 apr_brigade_insert_file(bb, fd, tf->Offset, fsize, r->pool);
1126 if (tf->pTail && tf->TailLength) {
1127 sent += tf->TailLength;
1128 b = apr_bucket_transient_create((char*)tf->pTail,
1129 tf->TailLength, c->bucket_alloc);
1143 /* Use tf->pfnHseIO + tf->pContext, or if NULL, then use cid->fnIOComplete
1146 if (tf->dwFlags & HSE_IO_ASYNC) {
1147 if (tf->pfnHseIO) {
1149 tf->pfnHseIO(cid->ecb, tf->pContext,
1153 tf->pfnHseIO(cid->ecb, tf->pContext,