1. 04 Dec, 2014 23 commits
  2. 03 Dec, 2014 8 commits
  3. 02 Dec, 2014 5 commits
  4. 01 Dec, 2014 1 commit
  5. 30 Nov, 2014 3 commits
    • Peter Wu's avatar
      sws: move away from IPv4/IPv4-only assumption · cf6c5c22
      Peter Wu authored
      
      
      Instead of depending the socket domain type on use_ipv6, specify the
      domain type (AF_INET / AF_INET6) as variable. An enum is used here with
      switch to avoid compiler warnings in connect_to, complaining that rc
      is possibly undefined (which is not possible as socket_domain is
      always set).
      
      Besides abstracting the socket type, make the debugging messages be
      independent on IP (introduce location_str which points to "port XXXXX").
      Rename "ipv_inuse" to "socket_type" and tighten the scope (main).
      
      Signed-off-by: default avatarPeter Wu <peter@lekensteyn.nl>
      cf6c5c22
    • Peter Wu's avatar
      lib/connect: restrict IP/TCP options to said sockets · aba5888f
      Peter Wu authored
      
      
      This patch prepares for adding UNIX domain sockets support.
      
      TCP_NODELAY and TCP_KEEPALIVE are specific to TCP/IP sockets, so do not
      apply these to other socket types. bindlocal only works for IP sockets
      (independent of TCP/UDP), so filter that out too for other types.
      
      Signed-off-by: default avatarPeter Wu <peter@lekensteyn.nl>
      aba5888f
    • Daniel Stenberg's avatar
      smb.c: use size_t as input argument types for msg sizes · 397a634e
      Daniel Stenberg authored
      This fixes warnings about conversions to int
      397a634e