Ok, my test data was very small. If I increase the content of the uploaded data I do see the exception of multiple materialization.
Thanks. On Mon, Apr 10, 2017 at 7:18 PM, Mushtaq Ahmed <[email protected]> wrote: > Hello! > > I am uploading a file using fileUpload directive to an akka-http server. > On server side once I get handle to the streaming request entity, I am able > to successfully materialize the stream *multiple* times. How is it > possible? Where does the data for the second materialization come from? > > On the other hand, akka-http client connected to the same server does > throws exception if I materialize the response entity more than once, which > is expected. > > Thanks. > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/ > current/additional/faq.html > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to a topic in the > Google Groups "Akka User List" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/akka-user/PlMgcFxFb5Y/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
