Home
last modified time | relevance | path

Searched refs:ConnectionError (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Ddecoder.rs1410 Err(H2Error::ConnectionError(ErrorCode::FrameSizeError)) in ut_decode_ping_payload()
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()
1560 Err(H2Error::ConnectionError(ErrorCode::FrameSizeError)) in ut_decode_window_update_payload()
1602 Err(H2Error::ConnectionError(ErrorCode::FrameSizeError)) in ut_decode_reset_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.rs42 ConnectionError(ErrorCode), enumerator
128 _ => return Err(H2Error::ConnectionError(ErrorCode::ProtocolError)), in try_from()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/
H A Dstreams.rs279 return Err(H2Error::ConnectionError(ErrorCode::FlowControlError)); in release_conn_recv_window()
409 None => Err(H2Error::ConnectionError(ErrorCode::IntervalError)), in headers()
428 None => Err(H2Error::ConnectionError(ErrorCode::IntervalError)), in poll_read_body()
462 return Err(H2Error::ConnectionError(ErrorCode::IntervalError)); in poll_sized_data()
546 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()
[all …]
H A Dmanager.rs305 H2Error::ConnectionError(ErrorCode::ProtocolError).into() in poll_recv_frame()
415 let error = H2Error::ConnectionError(ErrorCode::try_from(go_away.get_error_code())?); in recv_go_away_frame()
540 H2Error::ConnectionError(code) => self.manage_conn_error(cx, code), in manage_resp_error()
631 self.exit_with_error(cx, DispatchErrorKind::H2(H2Error::ConnectionError(code))); in manage_conn_error()
635 self.next_state = ManagerState::Exit(H2Error::ConnectionError(code).into()); in manage_conn_error()
641 Poll::Ready(Err(H2Error::ConnectionError(code).into())) in manage_conn_error()
659 return Err(H2Error::ConnectionError(ErrorCode::try_from(error_code)?).into()); in poll_deal_with_go_away()
H A Dinput.rs100 DispatchErrorKind::H2(H2Error::ConnectionError(ErrorCode::IntervalError)) in poll()
158 DispatchErrorKind::H2(H2Error::ConnectionError(ErrorCode::IntervalError)) in poll_writer_frame()
H A Ddata_ref.rs54 Poll::Ready(Err(H2Error::ConnectionError(ErrorCode::IntervalError))) in poll_read()
H A Doutput.rs254 SettingsState::Synced => Err(H2Error::ConnectionError(ErrorCode::ConnectError)), in update_decoder_settings()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Ddecoder.rs310 return Err(H3errorQpack::ConnectionError(DecompressionFailed)); in finish()
358 Err(H3errorQpack::ConnectionError(DecompressionFailed)) in stream_cancel()
392 .ok_or(H3errorQpack::ConnectionError(EncoderStreamError))?; in duplicate()
410 .ok_or(H3errorQpack::ConnectionError(EncoderStreamError))? in get_field_by_name_and_value()
414 .ok_or(H3errorQpack::ConnectionError(EncoderStreamError))? in get_field_by_name_and_value()
423 .map_err(|_| H3errorQpack::ConnectionError(EncoderStreamError))?; in get_field_by_name_and_value()
458 .ok_or(H3errorQpack::ConnectionError(DecompressionFailed))?; in search_indexed()
465 .ok_or(H3errorQpack::ConnectionError(DecompressionFailed))?; in search_indexed()
476 .ok_or(H3errorQpack::ConnectionError(DecompressionFailed))?; in search_post_indexed()
566 .map_err(|_| H3errorQpack::ConnectionError(DecompressionFailed))?; in get_field_by_name_and_value()
[all …]
H A Derror.rs14 ConnectionError(ErrorCode), enumerator
H A Dinteger.rs75 .ok_or(H3errorQpack::ConnectionError( in next_byte()
H A Dencoder.rs172 return Err(H3errorQpack::ConnectionError(DecoderStreamError)); in ack()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/h2/buffer/
H A Dwindow.rs45 return Err(H2Error::ConnectionError(ErrorCode::FlowControlError)); in increase_size()
48 return Err(H2Error::ConnectionError(ErrorCode::FlowControlError)); in increase_size()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/
H A Ddecoder.rs279 _ => DecResult::Error(H3errorQpack::ConnectionError( in decode()
341 _ => DecResult::Error(H3errorQpack::ConnectionError( in decode()
706 return H3errorQpack::ConnectionError(DecompressionFailed).into(); in decode()
711 Err(_) => H3errorQpack::ConnectionError(DecompressionFailed).into(), in decode()
716 return H3errorQpack::ConnectionError(DecompressionFailed).into(); in decode()
780 (_, _) => Error(H3errorQpack::ConnectionError(DecompressionFailed)), in decode()
838 (_, _) => Error(H3errorQpack::ConnectionError(DecompressionFailed)), in decode()
H A Dencoder.rs806 _ => DecResult::Error(H3errorQpack::ConnectionError(DecoderStreamError)), in decode()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Ddecoder.rs78 return Err(H2Error::ConnectionError(ErrorCode::CompressionError)); in finish()
136 .ok_or(H2Error::ConnectionError(ErrorCode::CompressionError))?; in update_indexed()
170 Err(H2Error::ConnectionError(ErrorCode::ConnectError)) in check_header_list_size()
190 .ok_or(H2Error::ConnectionError(ErrorCode::CompressionError))? in get_header_by_name_and_value()
H A Dinteger.rs74 .ok_or(H2Error::ConnectionError(ErrorCode::CompressionError))?; in next_byte()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
H A Ddecoder.rs173 H2Error::ConnectionError(ErrorCode::CompressionError).into() in decode()
498 return H2Error::ConnectionError(ErrorCode::CompressionError).into(); in decode()
503 Err(_) => H2Error::ConnectionError(ErrorCode::CompressionError).into(), in decode()
508 return H2Error::ConnectionError(ErrorCode::CompressionError).into(); in decode()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/
H A Dhttp2.rs273 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()