Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for eofHandlingMidHeader (0.07 seconds)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("EOF handling when stream ends mid-header")
        void eofHandlingMidHeader() throws IOException {
            // Create incomplete header (only 2 bytes instead of 4)
            byte[] incompleteHeader = new byte[] { (byte) SessionServicePacket.SESSION_MESSAGE, 0 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top