views:

13

answers:

1

Hi !

Can anyone explain to me what is the difference between the timeout configuration on the server vesus on the client ? For example, what would happen if a client sets the sendTimeout to 5 minutes while the configuration on the server has it set for 1 minute ? Does the client prevail since it initiates the communication ?

Thanks for your help !

+1  A: 

The smaller value wins - if your client has 5 minutes, but the server only 1 minute - the call will time out after 1 minute.

So by setting a specific value on the server-side, you can prevent clients from waiting too long for your responses - any higher values they have will not take effect.

marc_s
Thanks for the answer Marc ! If you append to have a link to MSDN or else that says that, could you please post it here ? Just for reference. Thanks again !
ultraman69