- 24 Mar, 2016 1 commit
-
-
Martin Storsjö authored
Apply the default value for timeout in code instead of via the avoption, to allow distinguishing the default value from the user not setting anything at all. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 22 Feb, 2016 1 commit
-
-
Anton Khirnov authored
Instead of a linked list constructed at av_register_all(), store them in a constant array of pointers. Since no registration is necessary now, this removes some global state from lavf. This will also allow the urlprotocol layer caller to limit the available protocols in a simple and flexible way in the following commits.
-
- 09 Apr, 2015 1 commit
-
-
Anders Nystrom authored
Handle error return from ff_listen_bind without leaking file descriptors. Signed-off-by:
Anders Nystrom <anders.nystrom@southpole.se> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 28 Feb, 2015 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 10 Oct, 2014 1 commit
-
-
Luca Barbato authored
-
- 25 Aug, 2014 1 commit
-
-
Rémi Denis-Courmont authored
If the remote end of a connection oriented socket hangs up, generating an EPIPE error is preferable over an unhandled SIGPIPE signal. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 09 Sep, 2013 1 commit
-
-
Martin Storsjö authored
This fixes warnings about making integers from pointers without a cast, and avoids the theoretical case where the lower 32 bits of the pointer would all be zero where the implicit cast wouldn't give the right result. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 06 Aug, 2013 1 commit
-
-
Martin Storsjö authored
This lowers the level of warnings printed if trying to connect to a host name that provides both v6 and v4 addresses but the service only is available on the v4 address (often occurring for 'localhost', with servers that aren't v6-aware). Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 05 Aug, 2013 1 commit
-
-
Luca Barbato authored
-
- 04 Jun, 2013 1 commit
-
-
Luca Barbato authored
Document the functions and have both use a millisecond timeout and check for interrupt.
-
- 01 Jun, 2013 2 commits
-
-
Luca Barbato authored
Introduce ff_listen_connect, to be shared with the other non-tcp network protocols.
-
Luca Barbato authored
Introduce ff_listen_bind, to be shared with the other non-tcp network protocols.
-
- 25 Jul, 2012 1 commit
-
-
Jordi Ortiz authored
Without this patch a user a bit absent-minded may not notice that the connection doesn't work because the port is missing. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 09 Jul, 2012 1 commit
-
-
Jordi Ortiz authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 27 Jun, 2012 2 commits
-
-
Jordi Ortiz authored
This gives you the proper v4 or v6 version of the "any address", allowing receiving connections on any address on the machine. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Jordi Ortiz authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 26 Jun, 2012 1 commit
-
-
Martin Storsjö authored
This heaader is required for close() for sockets in network code. For winsock, the equivalent function is defined in the winsock2.h header. This avoids having the HAVE_UNISTD_H in all files dealing with raw sockets. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 20 Jun, 2012 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 19 Jun, 2012 2 commits
-
-
Martin Storsjö authored
Make sure we actually have an error code in ret, in case getsockopt failed. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Also use ff_neterrno() instead of errno directly (which doesn't work on windows), for getting the error code. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 17 Jun, 2012 1 commit
-
-
Jordi Ortiz authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 31 May, 2012 2 commits
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 22 May, 2012 1 commit
-
-
Samuel Pitoiset authored
tcp_shutdown() isn't needed at the moment, but is added for consistency to explain how the function is supposed to be used. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 28 Mar, 2012 1 commit
-
-
Diego Biurrun authored
Also remove one pointless zero initialization in rangecoder.c.
-
- 05 Jan, 2012 1 commit
-
-
Martin Storsjö authored
This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 01 Dec, 2011 1 commit
-
-
Martin Storsjö authored
This simplifies the open functions by avoiding one function call that needs error checking, reducing the amount of extra bulk code. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 13 Nov, 2011 1 commit
-
-
Martin Storsjö authored
-
- 27 May, 2011 1 commit
-
-
Luca Barbato authored
The connect() timeout can take minutes, gets misreported as EIO and isn't interruptible.
-
- 20 Apr, 2011 1 commit
-
-
Martin Storsjö authored
Since the libavformat major bump, URLContext contains an AVClass, making it a usable log context. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 08 Apr, 2011 1 commit
-
-
Anton Khirnov authored
This is more readable and makes it easier to reorder URLProtocol members.
-
- 07 Apr, 2011 4 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Luca Barbato authored
This way is possible to have simple micro-server act like ffmpeg -i file.nut -vcodec copy -acodec copy -f nut tcp://foo:1234?listen
-
Luca Barbato authored
Support the URL_FLAG_NONBLOCK semantic and uniform the protocol. The quick retry loop is already part of retry_transfer_wrapper. The polling routine is common to the network protocols: udp, tcp and, once merged, sctp.
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 15 Mar, 2011 1 commit
-
-
Nicolas George authored
Functions interrupted by url_interrupt_cb should not be restarted. Therefore using AVERROR(EINTR) was wrong, as it did not allow to distinguish when the underlying system call was interrupted and actually needed to be restarted. This fixes roundup issues 2657 and 2659 (ffplay not exiting for streamed content). Signed-off-by:
Nicolas George <nicolas.george@normalesup.org> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 23 Feb, 2011 1 commit
-
-
Martin Storsjö authored
Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR() error codes. Provide fallback definitions of other errno.h network errors, mapping them to the corresponding winsock errors. This eases catching these error codes in common code, without having to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN). This fixes roundup issue 2614, unbreaking blocking network IO on windows. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 06 Feb, 2011 1 commit
-
-
Nicolas George authored
Signed-off-by:
Nicolas George <nicolas.george@normalesup.org> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 04 Feb, 2011 1 commit
-
-
Nicolas George authored
Signed-off-by:
Nicolas George <nicolas.george@normalesup.org> Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-