veyron/services/wspr/wsprd: Fix the stream type id.
Set the stream type id correctly for streaming RPCs on javascript servers.
Change-Id: Ibc6a108448c7af8bd3d76a347a32d13ee4c690a4
diff --git a/services/wspr/wsprd/lib/wspr.go b/services/wspr/wsprd/lib/wspr.go
index b9409f7..6ad3b17 100644
--- a/services/wspr/wsprd/lib/wspr.go
+++ b/services/wspr/wsprd/lib/wspr.go
@@ -368,7 +368,7 @@
id := wsp.lastGeneratedId
wsp.lastGeneratedId += 2
wsp.flowMap[id] = server
- wsp.outstandingStreams[id] = outstandingStream{stream: stream}
+ wsp.outstandingStreams[id] = outstandingStream{stream, vom_wiretype.Type{ID: 1}}
return &flow{id: id, writer: wsp.writerCreator(id)}
}