summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bio/b_sock.c
AgeCommit message (Expand)Author
2023-07-05Hide symbols in asn1 and bioBob Beck
2022-12-22in case of failure, always report the error with BIOerror();Ingo Schwarze
2018-02-07Restore the old behavior when a port number without a host name isAlexander Bluhm
2018-02-06Do not call freeaddrinfo() with a NULL parameter.Alexander Bluhm
2017-04-30No original OpenSSL code remains in this file. RelicenseBob Beck
2017-04-30Make BIO_get_host_ip just yet another getaddrinfo wrapperBob Beck
2017-04-30Rework BIO_accept to be more like modern code.Bob Beck
2017-04-30Microsoft Windows hates BIO_get_accept_socket in portable. Fix it toBob Beck
2017-01-29Send the function codes from the error functions to the bit bucket,Bob Beck
2016-12-20Delete completely useless crap and just use getaddrinfo. Fix man pageBob Beck
2014-12-03Move Windows OS-specific functions to make porting easier.Brent Cook
2014-12-03We're not supporting 16-bit Windows, remove cast.Brent Cook
2014-11-26normalize set/getsockopt usage.Brent Cook
2014-10-13The return value on success of fcntl(F_SETFL) is not actually specified,Brent Cook
2014-10-13Use O_NONBLOCK over FIONBIO.Brent Cook
2014-07-16do not need a variable to track locking, since all code paths have itTheo de Raadt
2014-07-13The bell tolls for BUF_strdup - Start the migration to usingBob Beck
2014-07-11Only import cryptlib.h in the four source files that actually need it.Joel Sing
2014-07-10Simplify realloc() usage; ok tedu@Miod Vallat
2014-07-10Stop including standard headers via cryptlib.h - pull in the headers thatJoel Sing
2014-07-10replace getservbyname_r with getaddrinfo for portabilityBrent Cook
2014-07-09include <limits.h> for LONG_MIN/LONG_MAX.Brent Cook
2014-07-09add <sys/filio.h> header for FIONBIOBrent Cook
2014-07-08Pretty much everything has SO_REUSEADDR - nuke the #ifdefs.Joel Sing
2014-07-08We have EAI_FAMILY - remove the #ifdefs.Joel Sing
2014-07-08More KNF.Joel Sing
2014-07-08Avoid locking in BIO_get_port() by using getservbyname_r() instead ofJoel Sing
2014-07-08Simplify various BIO_sock_* fuctions - less code, better variable names,Joel Sing
2014-06-24Replace 48 lines of code with a single inet_pton() call. The previousJoel Sing
2014-06-24Actually make BIO_set_tcp_ndelay() work - TCP_NODELAY will not magicallyJoel Sing
2014-06-22BIO_sock_init() no longer does anything, so stop calling it.Joel Sing
2014-06-22Just use SOMAXCONN and IPPROTO_TCP, since we know we have them.Joel Sing
2014-06-22In BIO_get_port(), use strol() with appropriate range checks rather thanJoel Sing
2014-06-12tags as requested by miod and teduTheo de Raadt
2014-06-08Stop using DSO_global_lookup to reach getaddrinfo() and friendsTheo de Raadt
2014-05-30more: no need for null check before freeTheo de Raadt
2014-05-05Sort and group includes.Joel Sing
2014-05-05Repair BIO_socket_nbio operation.Joel Sing
2014-04-26Replace all use of ERR_add_error_data with ERR_asprintf_error_data.Bob Beck
2014-04-23The usual idiom to cope with systems not defining socklen_t is to add aMiod Vallat
2014-04-23close socket in failure cases tooTed Unangst
2014-04-23if realloc failed, BIO_accept would leak memory and return NULL, causingTed Unangst
2014-04-19We'll interpret a (void) cast on snprintf() to mean it's been verified thatPhilip Guenther
2014-04-18unifdef NO_SOCKTed Unangst
2014-04-18Put the final pieces from e_os.h in the required places, and remove it.Theo de Raadt
2014-04-18unistd.h for protos where neededTheo de Raadt
2014-04-17more windows/netware leftoversTed Unangst
2014-04-17delete if 0 codeTed Unangst
2014-04-17Mostly gut e_os.h:Theo de Raadt
2014-04-17Change library to use intrinsic memory allocation functions instead ofBob Beck