52 Commits (3156df450fb661cbe72802b817cfed6050d7705d)

Author SHA1 Message Date
Ronald S. Bultje 63638a3c4a Print error messages in case of connection failure or name resolution failure 14 years ago
Måns Rullgård f3bfe388b5 Make ff_url_split() public 15 years ago
Martin Storsjö 27241cbffe Declare the url_write buffer parameter as const 15 years ago
Martin Storsjö cae9a15c98 Don't report EINTR from select as an error, retry select instead 15 years ago
Aurelien Jacobs e4a9e3cc7c move ff_url_split() and ff_url_join() declarations to internal.h 15 years ago
Martin Storsjö c5c6e67c28 Rename url_split to ff_url_split 15 years ago
Martin Storsjö 814c56413d Don't explicitly initialize networking in the tcp and udp protocols 15 years ago
Ronald S. Bultje 88248b76af Fix BSD compile (PF_UNSPEC is not a standard define, AF_UNSPEC is). 15 years ago
Martin Storsjö fdcdd5396e Use getaddrinfo() instead of resolve_host(). Patch by Martin Storsjö 15 years ago
Martin Storsjö 73c1326809 Use ff_neterrno instead of errno in tcp.c. 16 years ago
Ronald S. Bultje f0a8039464 Add url_get_file_handle(), which is used to get the file descriptor 16 years ago
Diego Biurrun 406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences. 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Baptiste Coudurier 6ad1c9c992 only include sys/select.h if present, fix mingw compilation 16 years ago
Baptiste Coudurier c75a0cce5b include sys/select.h to get select, according to posix 2001, 16 years ago
Ronald S. Bultje f23a9759ce Remove check for @ in tcp.c which removes the authorization data from the 16 years ago
Ronald S. Bultje a3303add3c Cosmetics after previous patches. 16 years ago
Ronald S. Bultje 8b9af28da4 On failure, return directly because the fail: case does nothing. This also 16 years ago
Ronald S. Bultje 47f944a2ef Move malloc() down until after all initializations, so that the resource is 16 years ago
Ronald S. Bultje e6c1381982 Fix memleak on some OSes in case network initialization fails. See 16 years ago
Ronald S. Bultje ad33bfefc7 Remove useless comments. See "[PATCH] tcp.c/udp.c memleak?" for discussion. 16 years ago
Diego Biurrun d78d72da66 Set TCP protocol to is_streamed=1 as seeking is not possible. 17 years ago
Luca Abeni 087b327287 Include os_support.h only when needed 17 years ago
Ramiro Polla 1642cb6b2e Add initialization and cleanup functions for Winsock 18 years ago
Ramiro Polla 85060fe6b4 MinGW returns EAGAIN instead of EINPROGRESS 18 years ago
Panagiotis Issaris 6f3e0b2174 Replace all occurrences of AVERROR_IO with AVERROR(EIO). 18 years ago
Alex Beregszaszi ba472aaf01 implement ff_socket_nonblock and use it in networking code 18 years ago
Alex Beregszaszi 8da4034f52 use ff_neterrno() and FF_NETERROR() for networking error handling 18 years ago
Alex Beregszaszi 383eda2348 move resolve_host from tcp.c to os_support.c as it is used widely 18 years ago
Alex Beregszaszi a33cc9511b cosmetics in resolve_host 18 years ago
Alex Beregszaszi b5cccea088 change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards 18 years ago
François Revol 8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs. 18 years ago
Ramiro Polla 42572ef53f move networking #includes into separate file 18 years ago
Ramiro Polla 95a47d963b BeOS cleanup 18 years ago
Aurelien Jacobs 763750242b cosmetics: indentation 18 years ago
François Revol e9d511dc7e The long awaited BeOS cleanup, phase 1 18 years ago
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library' 18 years ago
Michael Niedermayer e2a5fd2049 os2 thread, network and freetype2 support by (Paul Smedley | paulat a t smedleydot d o t info) 19 years ago
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address. 19 years ago
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace. 19 years ago
Diego Biurrun 01cf54f041 Mac OS X 10.4 compilation fix by Steven M. Schultz <sms at 2BSD dot COM> 20 years ago
Måns Rullgård 88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>) 20 years ago
Petr Doubek 6ba5cbc699 HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>) 21 years ago
Mike Melanson 0bd586c50d sweeping change from -EIO -> AVERROR_IO 21 years ago
Leon van Stuivenberg b51469a0c5 tcp select() check and enables pressing 'q' when reading/(writing) from 21 years ago
Michael Niedermayer 9eef2b77b2 no read loop tcp/http and http CRLF fix by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>) 21 years ago
Philip Gladstone 6c8e0d4d46 Fix a very nasty problem with extra bytes appearing in TCP data streams. 21 years ago
Fabrice Bellard 4358d5def3 removed ctype.h header 21 years ago
François Revol 438fcb754f OSX and BeOS networking fix (socklen_t) 22 years ago
Fabrice Bellard 09787fb8af support aborting in TCP 22 years ago