Skip to content

Commit

Permalink
Bug fix for spurious timeout messages being sent to the client in cer…
Browse files Browse the repository at this point in the history
…tain cases. Other cleanup
  • Loading branch information
Chandru Mullaparthi committed Jun 7, 2016
1 parent 07e47c6 commit b28542d
Show file tree
Hide file tree
Showing 10 changed files with 1,334 additions and 51 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ otp_release:
- 17.1
- 18.0
- 18.1
- 18.2.1
before_script:
- "./bootstrap_travis.sh"
script: "./rebar3 eunit"
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
CONTRIBUTIONS & CHANGE HISTORY
==============================

07-06-2016 - v4.3
* Adopted erlang.mk for compiling. I find it easier to understand
how 'make' behaves compared to rebar. This repo can still be built
using rebar for those who prefer it
* Removed references to lager. Introduced configurable logging function
* Fixed an issue where the calling process was getting an extra
spurious timeout message when the request was timing out

19-04-2016 - v4.2.4
* Fixed travis-ci build as it was failing in running tests.
No code changes to ibrowse
Expand Down
40 changes: 5 additions & 35 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
IBROWSE_VSN = $(shell sed -n 's/.*{vsn,.*"\(.*\)"}.*/\1/p' src/ibrowse.app.src)
PROJECT=ibrowse
PLT_APPS=erts kernel stdlib ssl crypto public_key
TEST_ERLC_OPTS=-pa ../ibrowse/ebin

DIALYZER_PLT=$(CURDIR)/.dialyzer_plt
DIALYZER_APPS=erts kernel stdlib ssl crypto public_key
include erlang.mk

REBAR ?= $(shell which rebar3)

all: compile

compile:
$(REBAR) compile

clean:
@$(REBAR) clean && cd test && make clean && cd ..

test: compile unit_tests eunit
test: app eunit unit_tests old_tests
@echo "====================================================="

unit_tests:
Expand All @@ -25,24 +16,3 @@ old_tests:
@echo "====================================================="
@echo "Running old tests..."
@cd test && make old_tests && cd ..

eunit:
@echo "====================================================="
@echo "Running eunit tests..."
$(REBAR) eunit

xref: all
$(REBAR) xref

docs:
$(REBAR) edoc

dialyzer:
$(REBAR) dialyzer


install: compile
mkdir -p $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/
cp -r _build/lib/default/ibrowse/ebin $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/

.PHONY: test docs
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ibrowse is a HTTP client written in erlang.

**Comments to:** chandrashekhar.mullaparthi@gmail.com

**Current Version:** 4.2.4
**Current Version:** 4.3

**Latest Version:** git://github.com/cmullaparthi/ibrowse.git

Expand Down
Loading

0 comments on commit b28542d

Please sign in to comment.