For a large GET with several block2, there is a Responding Event for every bloc exchange (each response block from the server).
I need to have the same approach for a large POST with Block1 specified : (each response block from the server too).
This way it is more effective to manage timeouts from the client that can reset the timeout as far as the server is responding ! (instead of having extra long timeout...).
What I have changed is :
Fire responding event for a request while transmitting a large post with block1 option if file Stack\BlockwiseLayer.cs and OSCOAP\SecureBlockwiseLayer.cs --> Please have look here to check if its the best place.
Modify ExampleClient and ExampleServer for testing.
For a large GET with several block2, there is a Responding Event for every bloc exchange (each response block from the server). I need to have the same approach for a large POST with Block1 specified : (each response block from the server too). This way it is more effective to manage timeouts from the client that can reset the timeout as far as the server is responding ! (instead of having extra long timeout...). What I have changed is :