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

Unified to throw NotSupportedException when SendFile() for connectionless sockets #87108

Merged
merged 5 commits into from
Aug 9, 2023
Merged

Unified to throw NotSupportedException when SendFile() for connectionless sockets #87108

merged 5 commits into from
Aug 9, 2023

Commits on Jun 4, 2023

  1. Unified to throw NotSupportedException when SendFile() for connection…

    …less sockets
    
    The issue was that the Socket.SendFile() threw inconsistent exceptions when the platform was Windows and the protocol was UDP.
    The first call would throw a SocketException, while the second call would throw a NotSupportedException.
    
    With this commit, SendFile() will consistently throw NotSupportException on all platforms when the protocol is UDP.
    
    Fix #47472
    rhirano0715 committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    cb8c786 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    aaf4917 View commit details
    Browse the repository at this point in the history
  2. Change to throws NotSupportedException if !IsConnectionOriented o…

    …r `!Connected`.
    
    Before:.
    
        Throws `NotSupportedException` on UDP.
    
    After:
    
        Throws `NotSupportedException` if `!IsConnectionOriented` or `!Connected`.
    rhirano0715 committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    a171986 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7bd5d7c View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Update src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket…

    ….Tasks.cs
    
    Co-authored-by: Karel Zikmund <karelz@microsoft.com>
    rhirano0715 and karelz authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    3954c40 View commit details
    Browse the repository at this point in the history