Home
last modified time | relevance | path

Searched refs:ProtocolError (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Ddecoder.rs519 ErrorCode::ProtocolError, in decode_window_update_payload()
1315 Error: H2Error::ConnectionError(ErrorCode::ProtocolError), in ut_frame_decoder_with_headers_frame_in_another_stream()
1337 Error: H2Error::ConnectionError(ErrorCode::ProtocolError), in ut_frame_decoder_with_continuation_frame_in_another_stream()
1418 Err(H2Error::ConnectionError(ErrorCode::ProtocolError)) in ut_decode_ping_payload()
1466 Err(H2Error::ConnectionError(ErrorCode::ProtocolError)) in ut_decode_priority_payload()
1516 Err(H2Error::ConnectionError(ErrorCode::ProtocolError)) in ut_decode_goaway_payload()
1610 Err(H2Error::ConnectionError(ErrorCode::ProtocolError)) in ut_decode_reset_payload()
1692 Err(H2Error::ConnectionError(ErrorCode::ProtocolError)) in ut_decode_settings_payload()
1735 Err(H2Error::ConnectionError(ErrorCode::ProtocolError)) in ut_decode_push_promise_payload()
1743 Err(H2Error::ConnectionError(ErrorCode::ProtocolError)) in ut_decode_push_promise_payload()
[all …]
H A Derror.rs57 ProtocolError = 0x01, enumerator
115 0x01 => ErrorCode::ProtocolError, in try_from()
128 _ => return Err(H2Error::ConnectionError(ErrorCode::ProtocolError)), in try_from()
/ohos5.0/base/request/request/services/src/task/
H A Dreason.rs34 ProtocolError, enumerator
66 17 => Reason::ProtocolError, in from()
99 Reason::ProtocolError => "Http protocol error", in to_str()
135 assert_eq!(Reason::ProtocolError.repr, 17); in ut_enum_reason()
H A Ddownload.rs140 return Err(TaskError::Failed(Reason::ProtocolError)); in download_inner()
147 return Err(TaskError::Failed(Reason::ProtocolError)); in download_inner()
615 assert_eq!(err, TaskError::Failed(Reason::ProtocolError)); in ut_download_sizes()
H A Dupload.rs389 return Err(TaskError::Failed(Reason::ProtocolError)); in upload_one_file()
396 return Err(TaskError::Failed(Reason::ProtocolError)); in upload_one_file()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/
H A Dstreams.rs546 None => StreamEndState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)), in send_local_reset()
571 None => return FrameRecvState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)), in send_headers_frame()
605 return FrameRecvState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)); in send_headers_frame()
614 None => return FrameRecvState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)), in send_data_frame()
631 return FrameRecvState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)); in send_data_frame()
643 None => StreamEndState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)), in recv_remote_reset()
663 None => return FrameRecvState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)), in recv_headers()
690 return FrameRecvState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)); in recv_headers()
702 None => return FrameRecvState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)), in recv_data()
722 return FrameRecvState::Err(H2Error::ConnectionError(ErrorCode::ProtocolError)); in recv_data()
H A Dmanager.rs305 H2Error::ConnectionError(ErrorCode::ProtocolError).into() in poll_recv_frame()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/
H A Dhttp2.rs82 HttpError::from(H2Error::StreamError(conn.id, ErrorCode::ProtocolError)), in frame_2_response()
97 ErrorCode::try_from(reset.error_code()).unwrap_or(ErrorCode::ProtocolError), in frame_2_response()
104 HttpError::from(H2Error::StreamError(conn.id, ErrorCode::ProtocolError)), in frame_2_response()
273 HttpError::from(H2Error::ConnectionError(ErrorCode::ProtocolError)), in match_channel_message()
279 HttpError::from(H2Error::ConnectionError(ErrorCode::ProtocolError)), in match_channel_message()
329 HttpError::from(H2Error::ConnectionError(ErrorCode::ProtocolError)), in read_remaining_data()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Ddispatcher.rs460 return Err(H2Error::ConnectionError(ErrorCode::ProtocolError)); in get_unsent_streams()