Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix session recording #153

Merged
merged 6 commits into from
Apr 13, 2021
Merged

Bugfix session recording #153

merged 6 commits into from
Apr 13, 2021

Conversation

AnastasiiaRomaniuk
Copy link
Contributor

Added creating of additional frames by timeout.
Added path api for the feature sogar integration.
Updated api according to the changes in the libarary.

@@ -46,15 +92,27 @@ impl PacketInterceptor for PcapRecordingInterceptor {
debug!("New packet intercepted. Packet size = {}", data.len());

let server_info = self.server_info.lock().unwrap();
let is_from_server = source_addr.unwrap() == server_info.addr;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

source_addr: Could it be none and panic ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for now, the answer is not. But I added the check up in case if something will change.

Copy link
Contributor

@fdubois1 fdubois1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fdubois1 fdubois1 merged commit 66aa58c into master Apr 13, 2021
@fdubois1 fdubois1 deleted the bugfix-session-recording branch April 13, 2021 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants