Now that I have found out why not all Status messages make it to
nsIWebProgressListener::onStatusChange.
What is the best way to get support for a change to
nsHttpTransaction.cpp that would honor a preference setting. The default
for coalesceEvents would still be PR_TRUE, but could be changed to
PR_FALSE for those times when seeing every status is important to a
listener.
This change would slow down every nsHttpTransaction:Init() call by the
time it takes to check a preference. This call is made for each http URL
fetched.
The system would also sacrifice the efficiencies gained by coalesceing
the events when the default was overriden.
The positive side of adding the preference is to allow more precise
instrumentation of each http transaction.
The affected area of nsHttpTransaction.cpp would be:
180 // create transport event sink proxy that coalesces all events
181 rv = net_NewTransportEventSinkProxy(getter_AddRefs(mTransportSink),
182 eventsink, queue, PR_TRUE);
I should be able to make the changes to the source myself, but being a
total newbee, I am not sure of how to get the approvals needed to make
it into the code base.
Thanks,
LeRoy
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib