Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 448a822

Browse files
Merge pull request #30 from Nike-Inc/fix_http_proxy_issue
Fix http proxy issue
2 parents ec53b56 + 11b641b commit 448a822

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
The changelog for BOKOR includes information about the each release including any update notes, release notes as well as bug fixes, updates to existing features and new features.
44

5+
---
6+
## 2.2.0
7+
8+
### Release Notes
9+
#### Added
10+
11+
- Fixed error due to http-proxy update
12+
513
---
614
## 2.1.0
715

lib/sepia/src/cache.js

-3
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ module.exports.configure = function(mode) {
100100
// Needed for node 0.8.x
101101
socket.destroy = socket.pause = socket.resume = function() {};
102102

103-
req.socket = socket;
104-
req.emit('socket', socket);
105-
106103
if (resHeaders.timeout) {
107104
socket.emit('timeout');
108105
req.emit('error', new Error('Timeout'));

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bokor",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "Bokor is a simple, Record and Playback Mock Server written in Node.js, utilized for Service Virtualization.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)