1.7.5

  • 增加swoole_table
  • 增加swoole_client->sendfile()
  • 增加swoole_server->stats()函数,用于统计服务器网络请求数
  • 增加worker和master之间unix的内存缓存
  • 增加swoole_process支持使用消息队列做进程间通信
  • 增加swoole_client构造函数增加第3个参数,作为长连接的ID
  • 增加swoole_process::daemon函数
  • 增加Append写的支持,swoole_async_write的offset为-1表示追加到文件末尾
  • 增加swoole_server->gettimer()获取所有定时器设置
  • 增加task进程单独设置max_requset/ipc_mode的支持
  • 优化worker和master之间的通信
  • 优化TCP短链接,性能提升50%
  • 修复connection_info在UDP客户端下端口号错误问题
  • 修复swoole_server->master_pid某些情况下不可用问题
  • 修复定时器第一次设置超过当前时间2倍的BUG
  • 修复异步任务结束后进程无法自动退出问题
  • 修复swoole_event_add重复添加相同fd时出错的问题
  • 修复swoole_process->$pid不可用的问题,在任何环境下均可获取到正确的pid
  • 移除onMasterClose/onMasterConnect