INNER CODE UNIT · C

rc

intel/asynch_mode_nginx · modules/nginx_qatzip_module/ngx_http_qatzip_filter_module.c:594

    rc = qzInit(&ctx->qzsession, params.sw_backup);
    if (rc != QZ_OK &&
        rc != QZ_DUPLICATE &&
        rc != QZ_NO_HW) {
        ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
                      "Fail to init HW with ret: %d.\n", rc);
        return NGX_ERROR;
    }

    rc = qzSetupSession(&ctx->qzsession, &params);
    if (rc != QZ_OK &&
        rc != QZ_NO_HW) {
        ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
                      "qzSetupSession for testing %s error, return: %d\n", __func__, rc);
        return NGX_ERROR;
    }

    ctx->last_out = &ctx->out;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…