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

is getOptions call mandatory before the actual scanFile Call #28

Open
amolksagar opened this issue May 10, 2022 · 0 comments
Open

is getOptions call mandatory before the actual scanFile Call #28

amolksagar opened this issue May 10, 2022 · 0 comments

Comments

@amolksagar
Copy link

Hi All,

This is more of a question rather than an issue. We have a use case where we are calling the ICAP Server from a Java Microservice. We are referring the Java Client code sample provided at https://github.com/Baekalfen/ICAP-avscan/tree/master/Java/ICAP/src/icap_samplecode

We observed that the getOptions call is taking a lot of time (around 10 secs minimum) and the actual scanFile Http call just takes milliseconds. Given we are not firing our requests from a browser and CORS is not in picture, can we skip the getOptions call?

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

No branches or pull requests

1 participant