We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9283800 + a571262 commit 6349f7aCopy full SHA for 6349f7a
src/tcp_server.cpp
@@ -427,7 +427,9 @@ void client_session::handle_read_feedparams(
427
api_config::get_instance()->use_protocol_version(), client_protocol_version);
428
// downgrade to 1.00 (portable binary format) if an unsupported binary conversion is
429
// involved
430
- if (serv_->info_->channel_bytes() != client_value_size) data_protocol_version_ = 100;
+ if (serv_->info_->channel_format() != cft_string &&
431
+ serv_->info_->channel_bytes() != client_value_size)
432
+ data_protocol_version_ = 100;
433
if (!format_ieee754[cft_double64] ||
434
(format == cft_float32 && !format_ieee754[cft_float32]) ||
435
!client_has_ieee754_floats)
0 commit comments