Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Add support for MSG_TRUNC and MSG_WAITALL flags #204

Merged
merged 13 commits into from
Apr 29, 2024
Merged

Add support for MSG_TRUNC and MSG_WAITALL flags #204

merged 13 commits into from
Apr 29, 2024

Conversation

baluchicken
Copy link
Contributor

@baluchicken baluchicken commented Apr 5, 2024

Description

This PR is meant to support MSG_TRUNC and MSG_WAITALL flags.
It also moves MSG_PEEK flag out from the bearSSL read function, to make it more general.
From now on it uses the standard bearssl read function instead of a modified one.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • Create test which sends MSG_TRUNC flag
  • Create test which uses MSG_WAITALL
  • Implement WAITALL flag
  • Implement TRUNC flag

@baluchicken baluchicken force-pushed the flags branch 2 times, most recently from ac03719 to cff5d90 Compare April 15, 2024 15:10
@baluchicken baluchicken self-assigned this Apr 25, 2024
@baluchicken baluchicken marked this pull request as ready for review April 25, 2024 13:39
@baluchicken baluchicken requested a review from a team as a code owner April 25, 2024 13:39
src/socket.c Outdated Show resolved Hide resolved
@baluchicken baluchicken merged commit 943f928 into main Apr 29, 2024
5 checks passed
@baluchicken baluchicken deleted the flags branch April 29, 2024 08:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants