-2

I have read this similar question but did not find an appropriate reply, hence I am posting this question.

I have a scenario where my Windows client is an anti-virus server. To reproduce a bug, I need to hold the client side CIFS request by introducing some delay of 5-10 sec.

Can anyone tell me how I can do this?

2 Answers2

0

I'm not sure if for CIFS, but if it was HTTP, I would write a simple CGI script.

In theory, the same approach could be used with CIFS, but even the most simple scenario (in terms as how the request should look? Does it need to be authorized properly?) might be pretty complicated to program. The answers you refer seem easier to me...

Alois Mahdal
  • 2,344
0

Maybe another approach, to avoid scripting of CIFS client: Somehow set up a "proper" CIFS so that client will "believe" it and make it use resource from a virtual filesystem that uses HTTP as an underlying protocol. (I'm thinking about something based on fuse might exist?)

Then just go for the simple CGI script.

Alois Mahdal
  • 2,344