File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -815,21 +815,21 @@ bool http2_client::send_setting()
815
815
816
816
char *p = frame + SW_HTTP2_FRAME_HEADER_SIZE;
817
817
/* *
818
- * MAX_CONCURRENT_STREAMS
818
+ * HEADER_TABLE_SIZE
819
819
*/
820
- id = htons (SW_HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS );
820
+ id = htons (SW_HTTP2_SETTING_HEADER_TABLE_SIZE );
821
821
memcpy (p, &id, sizeof (id));
822
822
p += 2 ;
823
- value = htonl (settings->max_concurrent_streams );
823
+ value = htonl (settings->header_table_size );
824
824
memcpy (p, &value, sizeof (value));
825
825
p += 4 ;
826
826
/* *
827
- * MAX_FRAME_SIZE
827
+ * MAX_CONCURRENT_STREAMS
828
828
*/
829
- id = htons (SW_HTTP2_SETTINGS_MAX_FRAME_SIZE );
829
+ id = htons (SW_HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS );
830
830
memcpy (p, &id, sizeof (id));
831
831
p += 2 ;
832
- value = htonl (settings->max_frame_size );
832
+ value = htonl (settings->max_concurrent_streams );
833
833
memcpy (p, &value, sizeof (value));
834
834
p += 4 ;
835
835
/* *
You can’t perform that action at this time.
0 commit comments