message: Remove useless handshake callback retval check.
diff: @@ -1126,7 +1126,7 @@ int php_swoole_http_onReceive(swServer *serv, swEventData *req)
  args[0] = *zrequest_object;
  args[1] = *zresponse_object;
  - if (SwooleG.enable_coroutine && conn->websocket_status != WEBSOCKET_STATUS_HANDSHAKE)
  + if (SwooleG.enable_coroutine)
  {
  if (sw_coro_create(fci_cache, 2, args) < 0)
  {
  @@ -1141,18 +1141,6 @@ int php_swoole_http_onReceive(swServer *serv, swEventData *req)
  {
  swoole_php_error(E_WARNING, "Http onRequest handler error.");
  }
  - else
  - {
  - //websocket user handshake
  - if (conn->websocket_status == WEBSOCKET_STATUS_HANDSHAKE)
  - {
  - //handshake success
  - if (Z_BVAL_P(retval))
  - {
  - conn->websocket_status = WEBSOCKET_STATUS_ACTIVE;
  - }
  - }
  - }
  zval_ptr_dtor(retval);
  }
  _free_object:
  @@ -2604,8 +2592,11 @@ static PHP_METHOD(swoole_http_response, __destruct)
  swoole_http_context_free(context);
  }
  else
  + {
  + if (context->response.status == 0)
  {
  context->response.status = 500;
  + }
  zval *zobject = getThis();
  zval *retval = NULL;
  