summaryrefslogtreecommitdiffstats
path: root/drivers/unix/stream_peer_tcp_posix.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Unify StreamPeerTCP/TCP_Server with NetSocket APIFabio Alessandrelli2018-09-121-411/+0
|
* Merge pull request #18279 from RandomShaper/allow-naive-httpMax Hilbrunner2018-05-261-0/+1
|\ | | | | Allow body-up-to-EOF HTTP responses
| * Allow body-up-to-EOF HTTP responsesPedro J. Estébanez2018-05-221-0/+1
| | | | | | | | | | | | Implements the same heuristic as Curl (and web browsers): if no `Content-Length`, no `Connection: keep-alive` and no chunked transfer encoding, assume th rest of the data until EOF is the body, gracefully setting the HTTP client back to the disconnected state. Theoretically, this is not compliant with HTTP 1.1, by which `keep-alive` is the default, but in practice, an explicit header is sent by servers.
* | Various coverity scan fixes for networkingFabio Alessandrelli2018-04-211-6/+15
|/ | | | Fix FreeBSD websocket compilation error
* Display set_nodelay to GDScriptMarlon Henry Schweigert2018-01-301-1/+1
| | | | | | | | | | | Pass enabled arg Rename set_nodelay to set_no_delay Add description to the method Change description
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Improve slang, especially in user-visible partsUnknown2017-12-051-2/+2
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-32/+29
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Avoid deadlock when writing/reading data on a connecting TCP socketFabio Alessandrelli2017-01-231-9/+4
| | | | | TCP status polling is always performed as non blocking. Trying to put a packet on a connecting socket will fail immediately.
* Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli2017-01-231-4/+2
| | | | | | | | | | | | | - TCP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `connect` -> resolve using best protocol (UNSPEC), socket from address type - UDP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type (to change socket type you must first call `close` it)
* Convert validity checks of IP_Address to is_valid method.Fabio Alessandrelli2017-01-231-1/+1
|
* Merge pull request #7510 from Faless/tcp_connectRémi Verschelde2017-01-151-3/+8
|\ | | | | TCP connect always opens the correct socket type
| * TCP connect always opens correct socket typeFabio Alessandrelli2017-01-131-3/+8
| | | | | | | | TCP client connections does not need to rely on ipv6 dual stack sockets
* | StreamPeerWinsock: Fix changed declarationsRémi Verschelde2017-01-141-2/+2
| | | | | | | | Bug introduced in dcb95ec1473eff3f455909cd81c3cd50b1e1159b.
* | removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-141-12/+12
|/ | | | added a check to detect this case in the future
* Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde2017-01-021-6/+13
|\ | | | | Fixes and improvementes for IPv6 implementation.
| * IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli2016-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | IP_Address changes: - Converts to and from String transparently while handling IPv4 as IPv6 mapped (::ffff:[IP]) address internally. - Completely remove AddrType enum. - Setting/Getting of ip array is now only possible through dedicated functions (ie. set_ipv4, get_ipv4, set_ipv6, get_ipv6) - Add function to know if the address is a valid IPv4 (for IP implementation and enet)
| * Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2016-12-091-2/+2
| |
| * Automatically map IPv4 address to IPv6 when neededFabio Alessandrelli2016-12-091-2/+2
| |
| * Use an instance variable for ip_type in raw socketsFabio Alessandrelli2016-12-091-2/+4
| | | | | | | | | | | | | | PacketPeerUDP/StreamPeerTCP/TCP_Server now uses an instance variable to store the selected ip_type (IPv4/IPv6/ANY, where ANY = dual stack). All calls to resolve addresses, sending/receving data, connecting/listening will use that socket type.
| * Properly handle tcp connection failureFabio Alessandrelli2016-12-091-1/+6
| |
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Fix windows debugger connection problems.Fabio Alessandrelli2016-10-301-2/+2
| | | | | Unify network socket creation between platform. Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
* Pass correct address size (ipv4,ipv6) to socket connect, bind, sendtoFabio Alessandrelli2016-10-261-4/+4
| | | | | The address size passed to network system calls now reflects the the actual IP type (v4 or v6). Fix Windows and OSX ipv6 sockets
* added windows support for ipv6, cleaned up unix codeAriel Manzur2016-10-201-20/+4
|
* adding ipv6Ariel Manzur2016-10-181-11/+23
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* added binary API to StreamPeer, fixes #2863Juan Linietsky2015-12-131-0/+9
|
* Haiku: remove an #ifdef as the platform now supports MSG_NOSIGNALKostadin Damyanov2015-06-101-4/+0
|
* Haiku: some small fixesKostadin Damyanov2015-05-251-3/+2
|
* Haiku: link with the haiku libs, stub the OS_Haiku class.Kostadin Damyanov2015-05-251-2/+6
|
* Haiku: fix building with UNIX_ENABLED.Kostadin Damyanov2015-05-251-2/+7
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+388