Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCopyUnixpacket (0.07 sec)

  1. src/bufio/net_test.go

    import (
    	"bufio"
    	"io"
    	"net"
    	"path/filepath"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestCopyUnixpacket tests that we can use bufio when copying
    // across a unixpacket socket. This used to fail due to an unnecessary
    // empty Write call that was interpreted as an EOF.
    func TestCopyUnixpacket(t *testing.T) {
    	tmpDir := t.TempDir()
    	socket := filepath.Join(tmpDir, "unixsock")
    
    	// Start a unixpacket server.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top