File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -333,8 +333,9 @@ struct aws_h2_stream *aws_h2_stream_new_request(
333333 /* Init H2 specific stuff */
334334 stream -> thread_data .state = AWS_H2_STREAM_STATE_IDLE ;
335335 /* stream end is implicit if the request isn't using manual data writes */
336- stream -> synced_data .manual_write_ended = !options -> http2_use_manual_data_writes ;
337- stream -> manual_write = options -> http2_use_manual_data_writes ;
336+ bool manual_write = options -> use_manual_data_writes || options -> http2_use_manual_data_writes ;
337+ stream -> synced_data .manual_write_ended = !manual_write ;
338+ stream -> manual_write = manual_write ;
338339
339340 /* if there's a request body to write, add it as the first outgoing write */
340341 struct aws_input_stream * body_stream = aws_http_message_get_body_stream (options -> request );
You can’t perform that action at this time.
0 commit comments