Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add try-paths plugins #902

Closed
wants to merge 1 commit into from
Closed

add try-paths plugins #902

wants to merge 1 commit into from

Conversation

haifzhu
Copy link

@haifzhu haifzhu commented Apr 1, 2024

Ⅰ. Describe what this PR did

add try-paths wasm go plugin to implement try_files function of nginx。

Ⅱ. Does this pull request fix one issue?

Fix the issue: Add support of try_files usage #840

Ⅲ. Why don't you add test cases (unit test/integration test)?

test cases be added in codes.

Ⅳ. Describe how to verify it

enable the plugin on the route, and check its retry function on envoy log.

Ⅴ. Special notes for reviews

no

@johnlanni
Copy link
Collaborator

)

// 默认超时时间为60s
var defaultTimeout uint32 = 60000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

默认60秒超时有点久,建议改成1秒,另外可以支持一下配置

@haifzhu haifzhu closed this by deleting the head repository May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants