winhttp: Store security flags in netconn_t.

This commit is contained in:
Juan Lang 2010-05-17 10:04:18 -07:00 committed by Alexandre Julliard
parent 141875c84a
commit 7c7d00a12f
2 changed files with 2 additions and 2 deletions

View File

@ -741,7 +741,7 @@ static BOOL request_set_option( object_header_t *hdr, DWORD option, LPVOID buffe
set_last_error( ERROR_INVALID_PARAMETER ); set_last_error( ERROR_INVALID_PARAMETER );
return FALSE; return FALSE;
} }
request->security_flags = flags; request->netconn.security_flags = flags;
return TRUE; return TRUE;
} }
case WINHTTP_OPTION_RESOLVE_TIMEOUT: case WINHTTP_OPTION_RESOLVE_TIMEOUT:

View File

@ -128,6 +128,7 @@ typedef struct
char *peek_msg; char *peek_msg;
char *peek_msg_mem; char *peek_msg_mem;
size_t peek_len; size_t peek_len;
DWORD security_flags;
} netconn_t; } netconn_t;
typedef struct typedef struct
@ -155,7 +156,6 @@ typedef struct
DWORD content_read; /* bytes read so far */ DWORD content_read; /* bytes read so far */
header_t *headers; header_t *headers;
DWORD num_headers; DWORD num_headers;
DWORD security_flags;
} request_t; } request_t;
typedef struct _task_header_t task_header_t; typedef struct _task_header_t task_header_t;