/*HTTPBodyStreamCFReadStream body_stream_cf(body_stream());
base::scoped_nsobject<NSInputStream> input_stream(
body_stream_cf.CreateInputStream());
[request setHTTPBodyStream:input_stream.get()];*/
NSData* data = [NSData dataWithContentsOfFile: base::SysUTF8ToNSString("/Users/mc/Library/Caches/TestCrashpad/completed/5c827674-2e2a-486e-a8b4-e406b142b935.dmp")];
[request setHTTPBody:data];
To me it looks like the combination between sendSynchronousRequest and NSInputStream(which I believe needs a run loop) doesn't work.
But I'm very far from being a Mac expert, so here I am, asking you guys if you have the same issue as I do.
Thank you very much in advance,
Mihnea Craciun
--
You received this message because you are subscribed to the Google Groups "Crashpad-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crashpad-dev...@chromium.org.
To post to this group, send email to crashp...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crashpad-dev/d9608eee-ac3c-46b3-b7f7-093a4100d76b%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crashpad-dev/a55fee17-1f5f-4a35-9169-58d90e5f354f%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/crashpad-dev/85f3cfd1-cb09-4d05-883a-3f410734b537%40chromium.org.
Thanks for your quick reply and for your explanation.
I didn't follow the test deep enough to figure out the python script actually preprocesses the request before feeding it back.
I did however found out one extra vital condition for issue to appear.
It only malfunctions in the 32 bit builds.