Commit graph

18632 commits

Author SHA1 Message Date
Konrad Malawski
ef827e6ef1 -htp #19577 replace overloads of bind with HttpConnect 2016-02-16 13:01:05 +01:00
Roland Kuhn
2bb45ce211 Merge pull request #19783 from ALPHA-60/fix-ignore-zero-sized-buffer
=str #19781 Use overriden `InputBuffer` attribute
2016-02-16 10:31:17 +01:00
Roland Kuhn
2b878be1c1 Merge branch 'wip-fixups-RK' 2016-02-16 10:19:38 +01:00
Roland Kuhn
73034d72ed Merge pull request #19778 from akka/wip-tidying-√
= - Minor cleanups, will get an appropriate commit message soon
2016-02-16 09:59:20 +01:00
Roland Kuhn
6bd3b4effe Merge pull request #19768 from johanandren/wip-19735-do-not-use-push-pull-stage-in-examples-johanandren
Documentation improvements
2016-02-16 09:54:50 +01:00
Bojan Petrovic
b4f507cdd6 =str #19781 Use overriden InputBuffer attribute
* Sink.{queue, actorRefWithAck} and StreamConverters.{asInputStream,
  asOutputStream} now use overriden/inherited `InputBuffer` attribute
* They now use their default attributes as initial attributes.
2016-02-15 21:31:13 +01:00
Viktor Klang
365e6243b3 = - Minor cleanups, will get an appropriate commit message soon 2016-02-15 21:01:28 +01:00
Roland Kuhn
e1afb62cab Merge pull request #19779 from kazuhiro/issue-19775-filepublisher-multiple-eof-messages-in-logs
=str #19775 FilePublisher should not report EOF multiple times
2016-02-15 20:37:17 +01:00
Roland Kuhn
e202ea8c40 clean up dependencies #19755 and other fixes
* remove inter-project dependencies between streamTestkit -> peristence -> remote
* make PartitionOutOfBoundsException extend IndexOutOfBoundsException
* some weird formatting
* remove -experimental from HTTP Testkit/Tests
* split out shared LevelDb journal tests into new subproject (not to be
  published)
2016-02-15 20:35:37 +01:00
Johan Andrén
737991c01c Documentation improvements
* Re enabling Java tests in akka-docs (they were not run before)
* Fixed bug #19764
* #19735 Rewrote every sample using the deprecated PushPullStage and friends
  using GraphStage
* Pruned old unused graph images
* Added missing graffle file for new graph images
2016-02-15 19:33:05 +01:00
Roland Kuhn
8f3c5aa17f Merge pull request #19785 from 412b/fix-19766-gzip-streams-leak-412b
GZipInputStream leaking off-heap memory
2016-02-15 18:41:41 +01:00
Roland Kuhn
815dc2aa70 Merge pull request #19786 from akka/wip-docs-RK
add statefulMapConcat to overview and fix links
2016-02-15 18:39:30 +01:00
Roland Kuhn
d1b35e441e add statefulMapConcat to overview and fix links 2016-02-15 16:51:58 +01:00
Kirill Plyashkevich
35ffc49226 GZIPInputStream is not closed at all at places, where it's instantiated, which leads to off-heap memory leak with every deserialized message.
GZIPInputStream uses Inflater internally (so also native zlib). Inflater frees up memory only on explicit call to end() or during finalization (finalize() contains only call to end()), so GZIPInputStream should always be explicitly closed.

As native libraries are used a non-scalaish try-finally is used to avoid off-heap memory leak for GZIPInputStream and GZIPOutputStream in case of exceptions.
2016-02-15 16:15:05 +01:00
Konrad Malawski
10d3af1478 Merge pull request #19584 from cmbaxter/feature/xff-avoid-dns-cmbaxter
!htt #19388 Removing use of InetAddress.getByName
2016-02-15 13:29:50 +01:00
Piotr Jarzemski
d5f8186f05 =str #19775 FilePublisher should not report EOF multiple times 2016-02-15 10:05:36 +01:00
Roland Kuhn
a83f08d4ab include build information for Scala 2.12.0-M3 2016-02-12 16:41:47 +01:00
Roland Kuhn
7a41768563 Merge pull request #19595 from agolubev/agolubev-#19316-fix-throttle
=str #18890 fix throttle
2016-02-12 16:26:26 +01:00
drewhk
f76318493a Merge pull request #19759 from akka/wip-19758-upd-slf4j-patriknw
update to slf4j 17.16, #19758
2016-02-12 15:49:20 +01:00
Alexander Golubev
f7d23b508b =str #18890 fix throttle 2016-02-12 09:14:41 -05:00
Roland Kuhn
5fc6902141 Merge pull request #19761 from matsluni/fix-spray-references
=http =doc fix some spray references in scaladoc
2016-02-12 14:47:05 +01:00
Matthias Lüneberg
5c205f7c1c =http =doc, fixes #16113 - fix some spray references in scaladoc 2016-02-12 14:40:58 +01:00
Roland Kuhn
c346ac2c32 Merge pull request #19612 from rocketraman/rg/osgi-doc
=doc Add intended use section to OSGi doc
2016-02-12 14:32:08 +01:00
Roland Kuhn
432b77a9a2 Merge pull request #19619 from agolubev/agolubev-#19291-TestGraphStage
=str #19291 add TestGraphStages for Sink and Source
2016-02-12 14:30:29 +01:00
drewhk
db8ebd717d Merge pull request #19757 from drewhk/wip-19553-one2onebidi-fix2-drewhk
#19553 Fix One2OneBidi not failing if inner flow completion wins the race with cancellation
2016-02-12 13:42:49 +01:00
Patrik Nordwall
f29a8fff50 update to slf4j 17.16, #19758 2016-02-12 12:52:13 +01:00
Endre Sándor Varga
35c0688471 #19553 Fix One2OneBidi not failing if inner flow completion wins the race with cancellation 2016-02-12 12:50:09 +01:00
drewhk
ebb915ae4d Merge pull request #19750 from lolski/lolski-issue-19293-rebased
=str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq
2016-02-12 11:36:56 +01:00
Roland Kuhn
7d0099e80a Merge pull request #19634 from agolubev/agolubev-#19423-add-statefulMapConcat
=str #19423 add statefulMapConcat
2016-02-12 11:00:48 +01:00
Roland Kuhn
d42b84327c Merge pull request #19754 from akka/wip-19732-async-RK
nicer declarative .async boundaries and remove Module.nest()
2016-02-12 10:46:32 +01:00
drewhk
0620a1366b Merge pull request #19726 from drewhk/wip-19645-backoffsupevisor-fail2-drewhk
#19645: BackoffOnRestartSupervisor should not ignore commands while child is terminating
2016-02-12 10:46:19 +01:00
Roland Kuhn
b24fb0e9e4 Merge pull request #19745 from ktoso/wip-bind-to-ktoso
+htc #19577 binding DSL for javadsl Http
2016-02-12 10:44:10 +01:00
Roland Kuhn
720f77fe8e Merge pull request #19751 from israel/israel-#19591
=str #19591 updated 'partition to three subscribers' to use Sink.seq …
2016-02-12 10:25:57 +01:00
Roland Kuhn
7b7647435b ensure that graph attributes are not lost
- this entails making Module.isSealed==true if attributes are set
- also removed Module.nest(), which implied fixing replaceShape to form
  a CompositeModule where CopiedModule was used before (GraphModule and
  TlsModule)
2016-02-12 10:07:55 +01:00
Alexander Golubev
2a36859578 =str #19423 add satefulMapConcat 2016-02-11 22:57:50 -05:00
Raman Gupta
dd0ffabbdd =doc Add intended use section to OSGi doc 2016-02-11 19:22:02 -05:00
israel
a4d96cd4e2 =str #19591 updated 'partition to three subscribers' to use Sink.seq and added a new test to cover a case where partitioner return an index out of bounds 2016-02-11 22:19:28 +02:00
drewhk
3d9ea4415f Merge pull request #19648 from agolubev/agolubev-#18045-add-recoverWith(Source)
+str #18045 add recoverWith(Source)
2016-02-11 20:34:53 +01:00
Roland Kuhn
f713a5eaef Merge pull request #19676 from ALPHA-60/fix-sink-queue-buffer
fix Sink.queue when buffer has run full #19675
2016-02-11 20:10:18 +01:00
lolski
21381d5710 =str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq and limit in tests where appropriate
* Sink.seq (Scala DSL) now returns immutable.Seq rather than Seq
* Sink.seq will not silently truncate when incoming elements is > Int.MAX_VALUE
* minor doc fixes
* replacing various grouped(n) / Sink.head with limit(n) / Sink.seq in various tests
* fix inconsistent indentation in RequestParserSpec
2016-02-12 01:36:21 +08:00
Johan Andrén
4e49d75ad8 !str #19732 Concise and consistent way to mark async boundaries 2016-02-11 18:20:23 +01:00
drewhk
d154fad4e9 Merge pull request #19734 from drewhk/wip-19452-contramap-drewhk
#19452: Contramap and fromFunction
2016-02-11 17:36:04 +01:00
Alexander Golubev
5a8f4135b7 +str #18045 add recoverWith(Source) 2016-02-11 10:36:40 -05:00
Roland Kuhn
4f237c8eff Merge pull request #19736 from akka/wip-there-is-no-try-√
=str - removing superfluous try-catch in stream-customize.rst
2016-02-11 15:49:05 +01:00
Alois Cochard
6c69fba61e 19452: Contramap and fromFunction 2016-02-11 15:32:48 +01:00
Roland Kuhn
af95476d1e Merge pull request #19684 from 2m/wip-#19662-reuse-pool-settings-2m
#19662 Reuse connection pool settings if none specified
2016-02-11 14:55:40 +01:00
drewhk
4c019fa082 Merge pull request #19742 from johanandren/wip-fix-failing-HighLevelOutgoingConnectionSpec-johanandren
=htc #19741 cannot pull twice bug in OutgoingConnectionBlueprint fixed
2016-02-11 14:30:29 +01:00
Roland Kuhn
4a4b19d86d Merge pull request #19744 from akka/wip-19728-TCK-atomic-RK
do not require partial batch replay in TCK #19728
2016-02-11 13:32:56 +01:00
Johan Andrén
dd3c9c4a97 =htc #19741 cannot pull twice bug in OutgoingConnectionBlueprint fixed 2016-02-11 13:31:36 +01:00
drewhk
25c558c5bd Merge pull request #19739 from ktoso/wip-cleanup-docs-add-webSocket-note-ktoso
Explain WebSocket name change and remove obsolete docs part
2016-02-11 13:29:07 +01:00