ChangeLog 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. * doubled maximum reliable window size
  2. * fixed RCVTIMEO/SNDTIMEO socket options and also added NODELAY
  3. ENet 1.3.9 (August 19, 2013):
  4. * added duplicatePeers option to ENetHost which can limit the number of peers from duplicate IPs
  5. * added enet_socket_get_option() and ENET_SOCKOPT_ERROR
  6. * added enet_host_random_seed() platform stub
  7. ENet 1.3.8 (June 2, 2013):
  8. * added enet_linked_version() for checking the linked version
  9. * added enet_socket_get_address() for querying the local address of a socket
  10. * silenced some debugging prints unless ENET_DEBUG is defined during compilation
  11. * handle EINTR in enet_socket_wait() so that enet_host_service() doesn't propagate errors from signals
  12. * optimized enet_host_bandwidth_throttle() to be less expensive for large numbers of peers
  13. ENet 1.3.7 (March 6, 2013):
  14. * added ENET_PACKET_FLAG_SENT to indicate that a packet is being freed because it has been sent
  15. * added userData field to ENetPacket
  16. * changed how random seed is generated on Windows to avoid import warnings
  17. * fixed case where disconnects could be generated with no preceding connect event
  18. ENet 1.3.6 (December 11, 2012):
  19. * added support for intercept callback in ENetHost that can be used to process raw packets before ENet
  20. * added enet_socket_shutdown() for issuing shutdown on a socket
  21. * fixed enet_socket_connect() to not error on non-blocking connects
  22. * fixed bug in MTU negotiation during connections
  23. ENet 1.3.5 (July 31, 2012):
  24. * fixed bug in unreliable packet fragment queuing
  25. ENet 1.3.4 (May 29, 2012):
  26. * added enet_peer_ping_interval() for configuring per-peer ping intervals
  27. * added enet_peer_timeout() for configuring per-peer timeouts
  28. * added protocol packet size limits
  29. ENet 1.3.3 (June 28, 2011):
  30. * fixed bug with simultaneous disconnects not dispatching events
  31. ENet 1.3.2 (May 31, 2011):
  32. * added support for unreliable packet fragmenting via the packet flag
  33. ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT
  34. * fixed regression in unreliable packet queuing
  35. * added check against received port to limit some forms of IP-spoofing
  36. ENet 1.3.1 (February 10, 2011):
  37. * fixed bug in tracking of reliable data in transit
  38. * reliable data window size now scales with the throttle
  39. * fixed bug in fragment length calculation when checksums are used
  40. ENet 1.3.0 (June 5, 2010):
  41. * enet_host_create() now requires the channel limit to be specified as
  42. a parameter
  43. * enet_host_connect() now accepts a data parameter which is supplied
  44. to the receiving receiving host in the event data field for a connect event
  45. * added an adaptive order-2 PPM range coder as a built-in compressor option
  46. which can be set with enet_host_compress_with_range_coder()
  47. * added support for packet compression configurable with a callback
  48. * improved session number handling to not rely on the packet checksum
  49. field, saving 4 bytes per packet unless the checksum option is used
  50. * removed the dependence on the rand callback for session number handling
  51. Caveats: This version is not protocol compatible with the 1.2 series or
  52. earlier. The enet_host_connect and enet_host_create API functions require
  53. supplying additional parameters.
  54. ENet 1.2.5 (June 28, 2011):
  55. * fixed bug with simultaneous disconnects not dispatching events
  56. ENet 1.2.4 (May 31, 2011):
  57. * fixed regression in unreliable packet queuing
  58. * added check against received port to limit some forms of IP-spoofing
  59. ENet 1.2.3 (February 10, 2011):
  60. * fixed bug in tracking reliable data in transit
  61. ENet 1.2.2 (June 5, 2010):
  62. * checksum functionality is now enabled by setting a checksum callback
  63. inside ENetHost instead of being a configure script option
  64. * added totalSentData, totalSentPackets, totalReceivedData, and
  65. totalReceivedPackets counters inside ENetHost for getting usage
  66. statistics
  67. * added enet_host_channel_limit() for limiting the maximum number of
  68. channels allowed by connected peers
  69. * now uses dispatch queues for event dispatch rather than potentially
  70. unscalable array walking
  71. * added no_memory callback that is called when a malloc attempt fails,
  72. such that if no_memory returns rather than aborts (the default behavior),
  73. then the error is propagated to the return value of the API calls
  74. * now uses packed attribute for protocol structures on platforms with
  75. strange alignment rules
  76. * improved autoconf build system contributed by Nathan Brink allowing
  77. for easier building as a shared library
  78. Caveats: If you were using the compile-time option that enabled checksums,
  79. make sure to set the checksum callback inside ENetHost to enet_crc32 to
  80. regain the old behavior. The ENetCallbacks structure has added new fields,
  81. so make sure to clear the structure to zero before use if
  82. using enet_initialize_with_callbacks().
  83. ENet 1.2.1 (November 12, 2009):
  84. * fixed bug that could cause disconnect events to be dropped
  85. * added thin wrapper around select() for portable usage
  86. * added ENET_SOCKOPT_REUSEADDR socket option
  87. * factored enet_socket_bind()/enet_socket_listen() out of enet_socket_create()
  88. * added contributed Code::Blocks build file
  89. ENet 1.2 (February 12, 2008):
  90. * fixed bug in VERIFY_CONNECT acknowledgement that could cause connect
  91. attempts to occasionally timeout
  92. * fixed acknowledgements to check both the outgoing and sent queues
  93. when removing acknowledged packets
  94. * fixed accidental bit rot in the MSVC project file
  95. * revised sequence number overflow handling to address some possible
  96. disconnect bugs
  97. * added enet_host_check_events() for getting only local queued events
  98. * factored out socket option setting into enet_socket_set_option() so
  99. that socket options are now set separately from enet_socket_create()
  100. Caveats: While this release is superficially protocol compatible with 1.1,
  101. differences in the sequence number overflow handling can potentially cause
  102. random disconnects.
  103. ENet 1.1 (June 6, 2007):
  104. * optional CRC32 just in case someone needs a stronger checksum than UDP
  105. provides (--enable-crc32 configure option)
  106. * the size of packet headers are half the size they used to be (so less
  107. overhead when sending small packets)
  108. * enet_peer_disconnect_later() that waits till all queued outgoing
  109. packets get sent before issuing an actual disconnect
  110. * freeCallback field in individual packets for notification of when a
  111. packet is about to be freed
  112. * ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
  113. packet (can be used in concert with freeCallback to support some custom
  114. allocation schemes that the normal memory allocation callbacks would
  115. normally not allow)
  116. * enet_address_get_host_ip() for printing address numbers
  117. * promoted the enet_socket_*() functions to be part of the API now
  118. * a few stability/crash fixes