On amd64 before patch: sizeof(http_conv_t) == 88, after: 72 bytes.
Change-Id: I2863f1c7223a904dadfbe68dc41bc61fc2cc378a
Reviewed-on: https://code.wireshark.org/review/1388
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
/** Conversation data of a HTTP connection. */
typedef struct _http_conv_t {
guint response_code;
+ guint32 startframe; /* First frame of proxied connection */
gchar *http_host;
gchar *request_method;
gchar *request_uri;
+ /** the number of requests on the conversation. */
+ guint32 req_res_num;
guint8 upgrade;
- guint32 startframe; /* First frame of proxied connection */
/* Server address and port, known after first server response */
- address server_addr;
guint16 server_port;
+ address server_addr;
/** the tail node of req_res */
http_req_res_t *req_res_tail;
- /** the number of requests on the conversation. */
- guint32 req_res_num;
} http_conv_t;
#endif /* __PACKET_HTTP_H__ */