Stefan Scheidewig

Results 9 comments of Stefan Scheidewig

We are using the blocking PreFinishResponseCallback to process the uploaded file, which can take longer. As it may can take longer we prevent the closing of the client connection by...

But isn't that behavior wanted. If the client cancels a patch request the underlying store should drop it, too. So the upload offset of an upload would actually be the...

But what about the last PATCH request. If the client cancels the request, it will not get the response anymore by the application's callback. Actually the upload is completed. Can...

Made a change that passes at least the parent context's values but decouples the contexts again: https://github.com/tus/tusd/commit/ab78498b23645d284578c773c6f0473eed0018cd I wanted to change the godoc of the synchronous callback methods in config.go...

> > it is contradictory if the callback can be used for validation but it is not guaranteed that the caller ever gets the result. > > I don't understand...

> Can you explain what the problem with the documentation is then? the outcome of the validation is crucial to the uploading client. if the connection drops and the request...

> To elaborate a little further, whenever you have a parent and a child resource, it is normal that closing the child resource does not close the parent resource. thought...

> The intended use for `stdlib.OpenDBFromPool` is when an application uses pgx directly, but also needs to use database/sql. `stdlib.OpenDBFromPool` provides a way of using the same underlying connection pool....