Skip to content

Commit

Permalink
fix(http): remove remember() from response$$
Browse files Browse the repository at this point in the history
PR #428.

remove 'remember()' from response-stream-of-streams since stream does not represent value, and that behavior was causing bugs in applications.
  • Loading branch information
ntilwalli authored and staltz committed Sep 8, 2016
1 parent e409bf9 commit 6973409
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions http/src/http-driver.ts
Expand Up @@ -148,8 +148,7 @@ function makeRequestInputToResponse$(runStreamAdapter: StreamAdapter) {
export function makeHTTPDriver(): Function {
function httpDriver(request$: Stream<RequestInput>, runSA: StreamAdapter, name: string): HTTPSource {
let response$$ = request$
.map(makeRequestInputToResponse$(runSA))
.remember();
.map(makeRequestInputToResponse$(runSA));
let httpSource = new MainHTTPSource(response$$, runSA, name, []);
/* tslint:disable:no-empty */
response$$.addListener({next: () => {}, error: () => {}, complete: () => {}});
Expand Down

0 comments on commit 6973409

Please sign in to comment.