mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-07 16:22:37 -04:00
This reverts commit 8056117e98.
Moving haterm init from haproxy is not the right way to fix the issue
because it should be possible to use a haterm configuration in haproxy.
So let's revert the commit above.
32 lines
913 B
C
32 lines
913 B
C
#ifndef _HAPROXY_HSTREAM_T_H
|
|
#define _HAPROXY_HSTREAM_T_H
|
|
|
|
#include <haproxy/dynbuf-t.h>
|
|
#include <haproxy/http-t.h>
|
|
#include <haproxy/obj_type-t.h>
|
|
|
|
/* hastream stream */
|
|
struct hstream {
|
|
enum obj_type obj_type;
|
|
struct session *sess;
|
|
|
|
struct stconn *sc;
|
|
struct task *task;
|
|
|
|
struct buffer req;
|
|
struct buffer res;
|
|
unsigned long long to_write; /* #of response data bytes to write after headers */
|
|
struct buffer_wait buf_wait; /* Wait list for buffer allocation */
|
|
|
|
int flags;
|
|
|
|
int ka; /* .0: keep-alive .1: forced .2: http/1.1, .3: was_reused */
|
|
unsigned long long req_size; /* values passed in the URI to override the server's */
|
|
unsigned long long req_body; /* remaining body to be consumed from the request */
|
|
int req_code;
|
|
int res_wait; /* time to wait before replying in ms */
|
|
int res_time;
|
|
enum http_meth_t req_meth;
|
|
};
|
|
|
|
#endif /* _HAPROXY_HSTREAM_T_H */
|